aboutsummaryrefslogtreecommitdiffstats
path: root/core/state/sync_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/state/sync_test.go')
-rw-r--r--core/state/sync_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/state/sync_test.go b/core/state/sync_test.go
index 5d6d90d5d..727a276a5 100644
--- a/core/state/sync_test.go
+++ b/core/state/sync_test.go
@@ -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
}