Skip to content

Commit

Permalink
w3vm: fixed impl of Database interface
Browse files Browse the repository at this point in the history
  • Loading branch information
lmittmann committed Dec 19, 2023
1 parent b39105a commit 524843c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w3vm/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func newDB(fetcher Fetcher) *db {

func (db *db) OpenTrie(root common.Hash) (gethState.Trie, error) { return db, nil }

func (db *db) OpenStorageTrie(stateRoot common.Hash, addr common.Address, root common.Hash) (gethState.Trie, error) {
func (db *db) OpenStorageTrie(stateRoot common.Hash, addr common.Address, root common.Hash, trie gethState.Trie) (gethState.Trie, error) {
return db, nil
}

Expand Down

0 comments on commit 524843c

Please sign in to comment.