Skip to content

Commit

Permalink
Update ethereum.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Dec 21, 2024
1 parent 4a0858a commit e56073a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gasPriceOracle/adapters/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
Expand Down

0 comments on commit e56073a

Please sign in to comment.