Skip to content

Commit

Permalink
quell zero-tree message
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Sep 25, 2023
1 parent e63ee8e commit afd52e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/state/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,9 @@ func (db *cachingDB) openStorageMPTrie(stateRoot common.Hash, address common.Add

// OpenStorageTrie opens the storage trie of an account
func (db *cachingDB) OpenStorageTrie(stateRoot common.Hash, address common.Address, root common.Hash, self Trie) (Trie, error) {
// TODO this should only return a verkle tree
if db.ended {
mpt, err := db.openStorageMPTrie(common.Hash{}, address, common.Hash{}, self)
mpt, err := db.openStorageMPTrie(types.EmptyRootHash, address, common.Hash{}, self)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit afd52e4

Please sign in to comment.