1
0
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:
Dan 2017-11-15 15:29:57 -03:30
parent bbdb35c35a
commit 960cc8abcb

View File

@ -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,