diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-01-06 18:11:56 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-16 18:21:08 +0800 |
commit | 5a057a8dedd1fa284e04bc2e7780e74d4600fdeb (patch) | |
tree | 3285474d93d6e83f9326c2bc0435527e12d0b768 /trie/sync_test.go | |
parent | 7e29b0b5b4e5cf7ded9a5a75789de6f8121caec9 (diff) | |
download | dexon-5a057a8dedd1fa284e04bc2e7780e74d4600fdeb.tar.gz dexon-5a057a8dedd1fa284e04bc2e7780e74d4600fdeb.tar.zst dexon-5a057a8dedd1fa284e04bc2e7780e74d4600fdeb.zip |
core/state, trie: surface iterator entry hashes
Diffstat (limited to 'trie/sync_test.go')
-rw-r--r-- | trie/sync_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/trie/sync_test.go b/trie/sync_test.go index 94d6edd68..ce098d5a0 100644 --- a/trie/sync_test.go +++ b/trie/sync_test.go @@ -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 } |