Skip to content

Commit

Permalink
chore: set a default gas multiplier of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Oct 7, 2024
1 parent f10440b commit 6277892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ducks/bridge/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const submitBridgeTransaction = (
};
};

const calcMaxGasLimit = (gasLimit: number, gasMultiplier: number) => {
const calcMaxGasLimit = (gasLimit: number, gasMultiplier = 1) => {
console.log('Bridge', 'calcMaxGasLimit', { gasLimit, gasMultiplier });
return new Numeric(
new BigNumber(gasLimit).times(gasMultiplier).round(0).toString(),
Expand Down

0 comments on commit 6277892

Please sign in to comment.