1
0
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:
Alexander Tseung 2018-08-31 13:23:16 -07:00
parent 01e9f03701
commit c04d9095dd

View File

@ -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