aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conversion-util.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-10 00:25:23 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-13 02:09:05 +0800
commitea7926c211965e2e529e5795a4e1655e97e32144 (patch)
tree74a3efe1f046bd9e8aba74f5857fb2af0bde32e9 /ui/app/conversion-util.js
parentfbab0f3a1f1bf78fdaf6b5639fb6a23d996f3645 (diff)
downloadtangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar.gz
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar.bz2
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar.lz
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar.xz
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.tar.zst
tangerine-wallet-browser-ea7926c211965e2e529e5795a4e1655e97e32144.zip
Adds amount and gas field to sendV2.
Diffstat (limited to 'ui/app/conversion-util.js')
-rw-r--r--ui/app/conversion-util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/conversion-util.js b/ui/app/conversion-util.js
index 20f77b35b..70c3c2622 100644
--- a/ui/app/conversion-util.js
+++ b/ui/app/conversion-util.js
@@ -125,7 +125,7 @@ const conversionUtil = (value, {
conversionRate,
ethToUSDRate,
invertConversionRate,
- value,
+ value: value || '0',
});
const addCurrencies = (a, b, { toNumericBase, numberOfDecimals }) => {