[release/1.4.14] core, trie: replace state caches with trie journal
(cherry picked from commit cd791bd855
)
This commit is contained in:
committed by
Péter Szilágyi
parent
7c17a6704c
commit
ddadf402fc
@ -76,7 +76,7 @@ func (it *NodeIterator) step() error {
|
||||
}
|
||||
// Initialize the iterator if we've just started
|
||||
if it.stateIt == nil {
|
||||
it.stateIt = trie.NewNodeIterator(it.state.trie.Trie)
|
||||
it.stateIt = it.state.trie.NodeIterator()
|
||||
}
|
||||
// If we had data nodes previously, we surely have at least state nodes
|
||||
if it.dataIt != nil {
|
||||
|
Reference in New Issue
Block a user