aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-list-item.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-09-14 10:20:13 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-09-16 07:23:23 +0800
commit54bbf8d8590014b92e7857f30bdc2d8f3779431a (patch)
tree0d9a5939fad15afe90b61de390fffb5f2d9ba9cd /ui/app/components/tx-list-item.js
parentb0f1fba2e5fbde573b46a284285985e63f1a3618 (diff)
downloadtangerine-wallet-browser-54bbf8d8590014b92e7857f30bdc2d8f3779431a.tar.gz
tangerine-wallet-browser-54bbf8d8590014b92e7857f30bdc2d8f3779431a.tar.zst
tangerine-wallet-browser-54bbf8d8590014b92e7857f30bdc2d8f3779431a.zip
Handle transaction totals in WEI in tx-list, send and pending.
Diffstat (limited to 'ui/app/components/tx-list-item.js')
-rw-r--r--ui/app/components/tx-list-item.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js
index d45aea964..8422c02b9 100644
--- a/ui/app/components/tx-list-item.js
+++ b/ui/app/components/tx-list-item.js
@@ -60,6 +60,7 @@ TxListItem.prototype.getSendEtherTotal = function () {
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'USD',
+ fromDenomination: 'WEI',
numberOfDecimals: 2,
conversionRate,
})
@@ -68,6 +69,7 @@ TxListItem.prototype.getSendEtherTotal = function () {
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'ETH',
+ fromDenomination: 'WEI',
conversionRate,
numberOfDecimals: 6,
})