aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/pending-tx.js')
-rw-r--r--ui/app/components/pending-tx.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index 6eb2fb2b2..c1b079a25 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -88,6 +88,7 @@ PendingTx.prototype.getTotal = function () {
fromCurrency: 'ETH',
toCurrency: 'USD',
numberOfDecimals: 2,
+ fromDenomination: 'WEI',
conversionRate,
})
const ETH = conversionUtil(amountBn, {
@@ -95,6 +96,7 @@ PendingTx.prototype.getTotal = function () {
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'ETH',
+ fromDenomination: 'WEI',
conversionRate,
numberOfDecimals: 6,
})
@@ -109,6 +111,7 @@ PendingTx.prototype.getTotal = function () {
fromCurrency: 'ETH',
toCurrency: 'USD',
numberOfDecimals: 2,
+ fromDenomination: 'WEI',
conversionRate,
})
const ETH = conversionUtil(amountBn, {
@@ -116,6 +119,7 @@ PendingTx.prototype.getTotal = function () {
toNumericBase: 'dec',
fromCurrency: 'ETH',
toCurrency: 'ETH',
+ fromDenomination: 'WEI',
conversionRate,
numberOfDecimals: 6,
})