Skip to content

Commit d7705da

Browse files
authored
Update blockchain_test.go
1 parent 6481c9a commit d7705da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/blockchain_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,8 @@ func TestFastVsFullChains(t *testing.T) {
759759
block.AddTx(tx)
760760
}
761761
}
762-
// If the block number is a multiple of 5, add a few bonus uncles to the block
763-
if i%5 == 0 {
762+
// If the block number is a multiple of 5, add an uncle to the block
763+
if i%5 == 4 {
764764
block.AddUncle(&types.Header{ParentHash: block.PrevBlock(i - 1).Hash(), Number: big.NewInt(int64(i - 1))})
765765
}
766766
})

0 commit comments

Comments
 (0)