Skip to content

Commit

Permalink
Add low/medium/high gas recommendations to the speedup/cancel gas pop…
Browse files Browse the repository at this point in the history
…overs (MetaMask#11818)
  • Loading branch information
adonesky1 authored and ryanml committed Aug 17, 2021
1 parent b7bab56 commit 4da940f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ export default function EditGasDisplay({
const radioButtonsEnabled =
networkAndAccountSupport1559 &&
gasEstimateType === GAS_ESTIMATE_TYPES.FEE_MARKET &&
!requireDappAcknowledgement &&
![EDIT_GAS_MODES.SPEED_UP, EDIT_GAS_MODES.CANCEL].includes(mode);
!requireDappAcknowledgement;

let errorKey;
if (balanceError) {
Expand Down

0 comments on commit 4da940f

Please sign in to comment.