aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-09-01 04:23:16 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-13 10:48:52 +0800
commitc04d9095dd4e5ff38508059d0c1e55eabb7a39e4 (patch)
tree346b1b7cfb5e459b9c1cf9cd04174fe79e5f6da1 /ui
parent01e9f03701751ba7cf4ee33961725982b3d63680 (diff)
downloadtangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar.gz
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar.bz2
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar.lz
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar.xz
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.tar.zst
tangerine-wallet-browser-c04d9095dd4e5ff38508059d0c1e55eabb7a39e4.zip
Add WEI to getEthConversionFromWeiHex
Diffstat (limited to 'ui')
-rw-r--r--ui/app/helpers/conversions.util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/helpers/conversions.util.js b/ui/app/helpers/conversions.util.js
index 74802c86b..5204faa1f 100644
--- a/ui/app/helpers/conversions.util.js
+++ b/ui/app/helpers/conversions.util.js
@@ -9,7 +9,7 @@ export function hexToDecimal (hexValue) {
}
export function getEthConversionFromWeiHex ({ value, conversionRate, numberOfDecimals = 6 }) {
- const denominations = [ETH, GWEI]
+ const denominations = [ETH, GWEI, WEI]
let nonZeroDenomination