core/state, trie: surface iterator entry hashes

This commit is contained in:
Péter Szilágyi
2016-01-06 12:11:56 +02:00
parent 7e29b0b5b4
commit 5a057a8ded
6 changed files with 114 additions and 20 deletions

View File

@ -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
}