diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 7f792250c849..e5253168eef9 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1904,7 +1904,7 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber price := math.BigMin(new(big.Int).Add(tx.GasTipCap(), baseFee), tx.GasFeeCap()) result.GasPrice = (*hexutil.Big)(price) } else { - result.GasPrice = nil + result.GasPrice = (*hexutil.Big)(tx.GasFeeCap()) } } return result