diff --git a/eth/gasprice/gasprice_test.go b/eth/gasprice/gasprice_test.go index f6350452dd..7dd72ff24a 100644 --- a/eth/gasprice/gasprice_test.go +++ b/eth/gasprice/gasprice_test.go @@ -211,7 +211,7 @@ func newTestBackend(t *testing.T, londonBlock *big.Int, cancunBlock *big.Int, pe }) // Construct testing chain - chain, err := core.NewBlockChain(&core.BlockchainOptions{NoPrefetch: true}, db, gspec, engine) + chain, err := core.NewBlockChain(db, gspec, engine, &core.BlockChainOptions{NoPrefetch: true}) if err != nil { t.Fatalf("Failed to create local chain, %v", err) }