mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Allows users to set a max priority fee below suggested, just showing a warning in that case (#11750)
This commit is contained in:
parent
1acbb39dff
commit
61b965a8a2
@ -672,7 +672,7 @@
|
||||
"message": "Max priority fee is higher than necessary. You may pay more than needed."
|
||||
},
|
||||
"editGasMaxPriorityFeeLow": {
|
||||
"message": "Max priority fee too low for network conditions"
|
||||
"message": "Max priority fee extremely low for network conditions"
|
||||
},
|
||||
"editGasMaxPriorityFeeTooltip": {
|
||||
"message": "Max priority fee (aka “miner tip”) goes directly to miners and incentivizes them to prioritize your transaction. You’ll most often pay your max setting"
|
||||
|
@ -397,7 +397,7 @@ export function useGasFeeInputs(
|
||||
maxPriorityFeePerGasToUse <
|
||||
gasFeeEstimates?.low?.suggestedMaxPriorityFeePerGas
|
||||
) {
|
||||
gasErrors.maxPriorityFee = GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW;
|
||||
gasWarnings.maxPriorityFee = GAS_FORM_ERRORS.MAX_PRIORITY_FEE_TOO_LOW;
|
||||
} else if (maxPriorityFeePerGasToUse >= maxFeePerGasToUse) {
|
||||
gasErrors.maxFee = GAS_FORM_ERRORS.MAX_FEE_IMBALANCE;
|
||||
} else if (
|
||||
|
Loading…
Reference in New Issue
Block a user