diff options
author | Dan <danjm.com@gmail.com> | 2017-11-16 02:59:57 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-11-16 02:59:57 +0800 |
commit | 960cc8abcbdc82ae2b73a82f0faf1658f113a9d3 (patch) | |
tree | c1abd1bff24ffe07322fc378d8e4c5f3602032f5 | |
parent | bbdb35c35a03c42eb4a950756bf280e6e15513b5 (diff) | |
download | tangerine-wallet-browser-960cc8abcbdc82ae2b73a82f0faf1658f113a9d3.tar.gz tangerine-wallet-browser-960cc8abcbdc82ae2b73a82f0faf1658f113a9d3.tar.zst tangerine-wallet-browser-960cc8abcbdc82ae2b73a82f0faf1658f113a9d3.zip |
Gas customzier does not consider amount when sending tokens.
-rw-r--r-- | ui/app/components/customize-gas-modal/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js index f01f42fe0..485dacf90 100644 --- a/ui/app/components/customize-gas-modal/index.js +++ b/ui/app/components/customize-gas-modal/index.js @@ -117,7 +117,7 @@ CustomizeGasModal.prototype.validate = function ({ gasTotal, gasLimit }) { let error = null const balanceIsSufficient = isBalanceSufficient({ - amount, + amount: selectedToken ? '0' : amount, gasTotal, balance, selectedToken, |