From 15d713f0ee7239d1e1c138c91f12c5c442340aec Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Tue, 7 Jul 2020 15:15:42 -0700 Subject: [PATCH] Standardize transaction activity conversion's currency to 'ETH' (#8934) --- .../transaction-activity-log.component.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js b/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js index 4a9a9791e3a1..baa120a8744b 100644 --- a/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js +++ b/ui/app/components/app/transaction-activity-log/transaction-activity-log.component.js @@ -74,14 +74,14 @@ export default class TransactionActivityLog extends PureComponent { const ethValue = index === 0 ? `${getValueFromWeiHex({ value, - fromCurrency: nativeCurrency, - toCurrency: nativeCurrency, + fromCurrency: 'ETH', + toCurrency: 'ETH', conversionRate, numberOfDecimals: 6, })} ${nativeCurrency}` : getEthConversionFromWeiHex({ value, - fromCurrency: nativeCurrency, + fromCurrency: 'ETH', conversionRate, numberOfDecimals: 3, })