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 19f74fa commit 0101895Copy full SHA for 0101895
core/chain_makers_test.go
@@ -118,7 +118,7 @@ func TestGenerateWithdrawalChain(t *testing.T) {
118
// enforce that withdrawal indexes are monotonically increasing from 0
119
var (
120
withdrawalIndex uint64
121
- head = blockchain.CurrentBlock().NumberU64()
+ head = blockchain.CurrentBlock().Number.Uint64()
122
)
123
for i := 0; i < int(head); i++ {
124
block := blockchain.GetBlockByNumber(uint64(i))
0 commit comments