core: fix a merge fault (#26802)

pull/26803/head
Péter Szilágyi 2 years ago committed by GitHub
parent 19f74fa3c0
commit 010189538e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/chain_makers_test.go

@ -118,7 +118,7 @@ func TestGenerateWithdrawalChain(t *testing.T) {
// enforce that withdrawal indexes are monotonically increasing from 0 // enforce that withdrawal indexes are monotonically increasing from 0
var ( var (
withdrawalIndex uint64 withdrawalIndex uint64
head = blockchain.CurrentBlock().NumberU64() head = blockchain.CurrentBlock().Number.Uint64()
) )
for i := 0; i < int(head); i++ { for i := 0; i < int(head); i++ {
block := blockchain.GetBlockByNumber(uint64(i)) block := blockchain.GetBlockByNumber(uint64(i))

Loading…
Cancel
Save