aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/blocks-generator_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/blocks-generator_test.go')
-rw-r--r--core/test/blocks-generator_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/blocks-generator_test.go b/core/test/blocks-generator_test.go
index b144100..d46a082 100644
--- a/core/test/blocks-generator_test.go
+++ b/core/test/blocks-generator_test.go
@@ -80,7 +80,7 @@ func (s *BlocksGeneratorTestCase) TestGenerate() {
// Check normal blocks.
for index, block := range blocks[1:] {
parentAcked := false
- for ack := range block.Acks {
+ for _, ack := range block.Acks {
if ack == block.ParentHash {
parentAcked = true
}