mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
trie: fix the bug checking empty trie
This commit is contained in:
parent
08611cfd75
commit
247298c7a2
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ func (e seekError) Error() string {
|
|||
}
|
||||
|
||||
func newNodeIterator(trie *Trie, start []byte) NodeIterator {
|
||||
if trie.Hash() == emptyState {
|
||||
if trie.Hash() == emptyRoot {
|
||||
return new(nodeIterator)
|
||||
}
|
||||
it := &nodeIterator{trie: trie}
|
||||
|
|
|
|||
Loading…
Reference in a new issue