core/state, trie: surface iterator entry hashes
This commit is contained in:
@ -96,8 +96,7 @@ func checkTrieConsistency(db Database, root common.Hash) (failure error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
it := NewNodeIterator(trie)
|
||||
for it.Next() {
|
||||
for it := NewNodeIterator(trie); it.Next(); {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user