diff --git a/crates/rpc/rpc-types/src/eth/transaction/mod.rs b/crates/rpc/rpc-types/src/eth/transaction/mod.rs index ba5bff233b..1fc2e3ca8d 100644 --- a/crates/rpc/rpc-types/src/eth/transaction/mod.rs +++ b/crates/rpc/rpc-types/src/eth/transaction/mod.rs @@ -111,7 +111,7 @@ impl Transaction { let (gas_price, max_fee_per_gas) = match signed_tx.tx_type() { TxType::Legacy => (Some(U128::from(signed_tx.max_fee_per_gas())), None), - TxType::EIP2930 => (None, Some(U128::from(signed_tx.max_fee_per_gas()))), + TxType::EIP2930 => (Some(U128::from(signed_tx.max_fee_per_gas())), None), TxType::EIP1559 => { // the gas price field for EIP1559 is set to `min(tip, gasFeeCap - baseFee) + // baseFee`