mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Gas customzier does not consider amount when sending tokens.
This commit is contained in:
parent
bbdb35c35a
commit
960cc8abcb
@ -117,7 +117,7 @@ CustomizeGasModal.prototype.validate = function ({ gasTotal, gasLimit }) {
|
|||||||
let error = null
|
let error = null
|
||||||
|
|
||||||
const balanceIsSufficient = isBalanceSufficient({
|
const balanceIsSufficient = isBalanceSufficient({
|
||||||
amount,
|
amount: selectedToken ? '0' : amount,
|
||||||
gasTotal,
|
gasTotal,
|
||||||
balance,
|
balance,
|
||||||
selectedToken,
|
selectedToken,
|
||||||
|
Loading…
Reference in New Issue
Block a user