Skip to content

Commit db8ff7c

Browse files
committed
quell zero-tree message
1 parent 3cb4d0e commit db8ff7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/state/database.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,9 @@ func (db *cachingDB) openStorageMPTrie(stateRoot common.Hash, address common.Add
365365

366366
// OpenStorageTrie opens the storage trie of an account
367367
func (db *cachingDB) OpenStorageTrie(stateRoot common.Hash, address common.Address, root common.Hash, self Trie) (Trie, error) {
368+
// TODO this should only return a verkle tree
368369
if db.ended {
369-
mpt, err := db.openStorageMPTrie(common.Hash{}, address, common.Hash{}, self)
370+
mpt, err := db.openStorageMPTrie(types.EmptyRootHash, address, common.Hash{}, self)
370371
if err != nil {
371372
return nil, err
372373
}

0 commit comments

Comments
 (0)