diff --git a/eth/tracers/api.go b/eth/tracers/api.go index 5f2f16627a..211f0dbd62 100644 --- a/eth/tracers/api.go +++ b/eth/tracers/api.go @@ -1055,7 +1055,7 @@ func (api *API) traceTx(ctx context.Context, tx *types.Transaction, message *cor // Call Prepare to clear out the statedb access list statedb.SetTxContext(txctx.TxHash, txctx.TxIndex) - _, err = core.ApplyTransactionWithEVM(message, new(core.GasPool).AddGas(message.GasLimit), statedb, vmctx.BlockNumber, txctx.BlockHash, vmctx.Time, tx, &usedGas, evm) + _, err = core.ApplyTransactionWithEVM(message, new(core.GasPool).AddGas(message.GasLimit), statedb, vmctx.BlockNumber, txctx.BlockHash, vmctx.Time, tx, &usedGas, new(uint64), evm) if err != nil { return nil, fmt.Errorf("tracing failed: %w", err) }