diff --git a/src/gasPriceOracle/adapters/ethereum.ts b/src/gasPriceOracle/adapters/ethereum.ts index 05f2a6d0..6a376632 100644 --- a/src/gasPriceOracle/adapters/ethereum.ts +++ b/src/gasPriceOracle/adapters/ethereum.ts @@ -37,7 +37,7 @@ export async function eip1559Raw( assert(BigNumber.isBigNumber(baseFeePerGas), `No baseFeePerGas received on ${getNetworkName(chainId)}`); return { - maxFeePerGas: maxPriorityFeePerGas.mul(baseFeeMultiplier).add(baseFeePerGas), + maxFeePerGas: maxPriorityFeePerGas.add(baseFeePerGas).mul(baseFeeMultiplier), maxPriorityFeePerGas, }; }