mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Standardize transaction activity conversion's currency to 'ETH' (#8934)
This commit is contained in:
parent
14416a796a
commit
15d713f0ee
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user