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

@ -116,8 +116,7 @@ func checkStateConsistency(db ethdb.Database, root common.Hash) (failure error)
if err != nil {
return
}
it := NewNodeIterator(state)
for it.Next() {
for it := NewNodeIterator(state); it.Next(); {
}
return nil
}