mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
Insufficient balance warning in gas customizer works for send token
This commit is contained in:
parent
c420249fb9
commit
b16946723f
@ -107,19 +107,17 @@ CustomizeGasModal.prototype.validate = function ({ gasTotal, gasLimit }) {
|
||||
const {
|
||||
amount,
|
||||
balance,
|
||||
primaryCurrency,
|
||||
selectedToken,
|
||||
amountConversionRate,
|
||||
conversionRate,
|
||||
} = this.props
|
||||
|
||||
let error = null
|
||||
|
||||
|
||||
const balanceIsSufficient = isBalanceSufficient({
|
||||
amount,
|
||||
gasTotal,
|
||||
balance,
|
||||
primaryCurrency,
|
||||
selectedToken,
|
||||
amountConversionRate,
|
||||
conversionRate,
|
||||
|
Loading…
Reference in New Issue
Block a user