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 f6a583f commit 5c19ce7Copy full SHA for 5c19ce7
crates/transaction-pool/src/validate/eth.rs
@@ -396,7 +396,7 @@ where
396
// max possible tx fee is (gas_price * gas_limit)
397
// (if EIP1559) max possible tx fee is (max_fee_per_gas * gas_limit)
398
let gas_price = transaction.max_fee_per_gas();
399
- let max_tx_fee_wei = gas_price.saturating_mul(transaction.gas_limit() as u128);
+ let max_tx_fee_wei = gas_price.saturating_mul(transaction_gas_limit as u128);
400
if max_tx_fee_wei > tx_fee_cap_wei {
401
return Err(TransactionValidationOutcome::Invalid(
402
transaction,
0 commit comments