aboutsummaryrefslogtreecommitdiffstats
path: root/trie/sync_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-01-06 18:11:56 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-16 18:21:08 +0800
commit5a057a8dedd1fa284e04bc2e7780e74d4600fdeb (patch)
tree3285474d93d6e83f9326c2bc0435527e12d0b768 /trie/sync_test.go
parent7e29b0b5b4e5cf7ded9a5a75789de6f8121caec9 (diff)
downloaddexon-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.go3
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
}