Skip to content

Commit

Permalink
Standardize transaction activity conversion's currency to 'ETH' (#8934)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang authored Jul 7, 2020
1 parent 14416a7 commit 15d713f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 15d713f

Please sign in to comment.