aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-19 00:19:21 +0800
committerDan <danjm.com@gmail.com>2018-06-19 00:19:21 +0800
commit36de213c6c5eda192d4160d650004523d303379c (patch)
tree0786c5dd79c905af4cf02bb8f546750061c96d85 /ui/app/components/send
parent347d1984cf01b7a1a6af0415c8ec6b1eb4c7a7be (diff)
downloadtangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar.gz
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar.bz2
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar.lz
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar.xz
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.tar.zst
tangerine-wallet-browser-36de213c6c5eda192d4160d650004523d303379c.zip
Fix currency-display.js rendering of token amounts.
Diffstat (limited to 'ui/app/components/send')
-rw-r--r--ui/app/components/send/currency-display.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/components/send/currency-display.js b/ui/app/components/send/currency-display.js
index 3bc9ad226..9866393d8 100644
--- a/ui/app/components/send/currency-display.js
+++ b/ui/app/components/send/currency-display.js
@@ -57,6 +57,7 @@ CurrencyDisplay.prototype.getValueToRender = function ({ selectedToken, conversi
return selectedToken
? conversionUtil(ethUtil.addHexPrefix(value), {
fromNumericBase: 'hex',
+ toNumericBase: 'dec',
toCurrency: symbol,
conversionRate: multiplier,
invertConversionRate: true,