1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Separate out non blocking gas errors (#11783)

This commit is contained in:
Alex Donesky 2021-08-05 17:53:48 -05:00 committed by Dan Miller
parent f3995b72b0
commit 99fecbf6d2
2 changed files with 2 additions and 2 deletions

View File

@ -704,7 +704,7 @@
"message": "Unknown processing time" "message": "Unknown processing time"
}, },
"editGasTooLowTooltip": { "editGasTooLowTooltip": {
"message": "Your max fee is low for current market conditions. We dont know when (or if) your transaction will be processed." "message": "Your max fee or max priority fee may be low for current market conditions. We don't know when (or if) your transaction will be processed. "
}, },
"editGasTotalBannerSubtitle": { "editGasTotalBannerSubtitle": {
"message": "Up to $1 ($2)", "message": "Up to $1 ($2)",

View File

@ -467,7 +467,7 @@ export function useGasFeeInputs(
gasFeeEstimates?.low?.suggestedMaxFeePerGas, gasFeeEstimates?.low?.suggestedMaxFeePerGas,
) )
) { ) {
gasErrors.maxFee = GAS_FORM_ERRORS.MAX_FEE_TOO_LOW; gasWarnings.maxFee = GAS_FORM_ERRORS.MAX_FEE_TOO_LOW;
} else if ( } else if (
gasFeeEstimates?.high && gasFeeEstimates?.high &&
bnGreaterThan( bnGreaterThan(