core: fix a merge fault (#26802)

This commit is contained in:
Péter Szilágyi 2023-03-03 12:11:39 +02:00 committed by GitHub
parent 19f74fa3c0
commit 010189538e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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