1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +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 GitHub
parent f9378b3aa2
commit 804fefcd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -704,7 +704,7 @@
"message": "Unknown processing time"
},
"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": {
"message": "Up to $1 ($2)",

View File

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