diff --git a/crates/wallet/src/lib.rs b/crates/wallet/src/lib.rs index 0f6f4e1..ea541cc 100644 --- a/crates/wallet/src/lib.rs +++ b/crates/wallet/src/lib.rs @@ -274,8 +274,8 @@ where LoadFee::eip1559_fees(&self.inner.eth_api, None, None) .await .map_err(|_| OdysseyWalletError::InvalidTransactionRequest)?; - request.max_fee_per_gas = Some((base_fee + max_priority_fee_per_gas).to::() * 2u128); - request.max_priority_fee_per_gas = Some((max_priority_fee_per_gas * U256::from(2)).to()); + request.max_fee_per_gas = Some((base_fee + max_priority_fee_per_gas).to()); + request.max_priority_fee_per_gas = Some(max_priority_fee_per_gas.to()); request.gas_price = None; // build and sign