aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send-utils.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-27 00:43:12 +0800
committerDan <danjm.com@gmail.com>2017-11-07 03:33:04 +0800
commit319779ab081f70343b5ef77531450878292a90d6 (patch)
tree807755a45b82e03d99cec6103cab50f1f57be7d3 /ui/app/components/send/send-utils.js
parent67bdfe87e31e695f8c4beab1659a3a4b764ccf24 (diff)
downloadtangerine-wallet-browser-319779ab081f70343b5ef77531450878292a90d6.tar.gz
tangerine-wallet-browser-319779ab081f70343b5ef77531450878292a90d6.tar.zst
tangerine-wallet-browser-319779ab081f70343b5ef77531450878292a90d6.zip
Adds max amount feature for send-ether
Diffstat (limited to 'ui/app/components/send/send-utils.js')
-rw-r--r--ui/app/components/send/send-utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/send/send-utils.js b/ui/app/components/send/send-utils.js
index 4eb010173..0260c38a6 100644
--- a/ui/app/components/send/send-utils.js
+++ b/ui/app/components/send/send-utils.js
@@ -22,7 +22,7 @@ function isBalanceSufficient({
toNumericBase: 'hex',
})
- const balanceIsSufficient = conversionGreaterThan(
+ const balanceIsSufficient = conversionGTE(
{
value: balance,
fromNumericBase: 'hex',