mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
quell zero-tree message
This commit is contained in:
parent
b4c3b59a85
commit
b7648a503e
1 changed files with 2 additions and 1 deletions
|
|
@ -365,8 +365,9 @@ func (db *cachingDB) openStorageMPTrie(stateRoot common.Hash, address common.Add
|
||||||
|
|
||||||
// OpenStorageTrie opens the storage trie of an account
|
// 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) {
|
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 {
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue