diff --git a/crates/erc20_payment_lib/src/sender/process.rs b/crates/erc20_payment_lib/src/sender/process.rs index 2102399d..1a102e70 100644 --- a/crates/erc20_payment_lib/src/sender/process.rs +++ b/crates/erc20_payment_lib/src/sender/process.rs @@ -523,10 +523,6 @@ pub async fn process_transaction( } else if fee_per_gas_bumped_10 && !priority_fee_changed_10 { replacement_priority_fee = tx_priority_fee_u256 * U256::from(11) / U256::from(10) + U256::from(1); - if replacement_priority_fee > replacement_max_fee_per_gas { - //priority fee cannot be greater than max fee per gas - replacement_priority_fee = replacement_max_fee_per_gas; - } log::warn!( "Replacement priority fee is bumped by 10% from {} to {}", tx_priority_fee,