We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6481c9a commit d7705daCopy full SHA for d7705da
core/blockchain_test.go
@@ -759,8 +759,8 @@ func TestFastVsFullChains(t *testing.T) {
759
block.AddTx(tx)
760
}
761
762
- // If the block number is a multiple of 5, add a few bonus uncles to the block
763
- if i%5 == 0 {
+ // If the block number is a multiple of 5, add an uncle to the block
+ if i%5 == 4 {
764
block.AddUncle(&types.Header{ParentHash: block.PrevBlock(i - 1).Hash(), Number: big.NewInt(int64(i - 1))})
765
766
})
0 commit comments