diff --git a/core/blockchain_test.go b/core/blockchain_test.go index 46bdde91a6..db624c4dc0 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -2281,7 +2281,7 @@ func TestSideImportPrunedBlocks(t *testing.T) { t.Errorf("Block %d pruned", firstNonPrunedBlock.NumberU64()) } // Now re-import some old blocks - blockToReimport := blocks[5 : 8] + blockToReimport := blocks[5:8] _, err = chain.InsertChain(blockToReimport) if err != nil { t.Errorf("Got error, %v", err)