Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Oct 3, 2024
1 parent 771ee26 commit 3c283a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/ducks/bridge/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ export const signBridgeTransaction = (
checkNetworkAndAccountSupports1559(state);

if (networkAndAccountSupports1559) {
const gasFeeEstimates = getGasFeeEstimates(state);
const {
high: { suggestedMaxFeePerGas, suggestedMaxPriorityFeePerGas },
// estimatedBaseFee = '0',
} = getGasFeeEstimates(state);
} = gasFeeEstimates;
// decEstimatedBaseFee = decGWEIToHexWEI(estimatedBaseFee);
maxFeePerGas = decGWEIToHexWEI(suggestedMaxFeePerGas);
maxPriorityFeePerGas = decGWEIToHexWEI(suggestedMaxPriorityFeePerGas);
Expand Down

0 comments on commit 3c283a7

Please sign in to comment.