mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add WEI to getEthConversionFromWeiHex
This commit is contained in:
parent
01e9f03701
commit
c04d9095dd
@ -9,7 +9,7 @@ export function hexToDecimal (hexValue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getEthConversionFromWeiHex ({ value, conversionRate, numberOfDecimals = 6 }) {
|
export function getEthConversionFromWeiHex ({ value, conversionRate, numberOfDecimals = 6 }) {
|
||||||
const denominations = [ETH, GWEI]
|
const denominations = [ETH, GWEI, WEI]
|
||||||
|
|
||||||
let nonZeroDenomination
|
let nonZeroDenomination
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user