aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conversion-util.js
diff options
context:
space:
mode:
authorHsuan Lee <boczeratul@gmail.com>2018-10-24 15:40:38 +0800
committerHsuan Lee <hsuan@cobinhood.com>2018-12-10 18:27:43 +0800
commitb9b8c9d70bfa12aa5c752f05d676b2e1a67405b6 (patch)
tree6f38bcb507cf0c1286379ac4320a02c8a15679cc /ui/app/conversion-util.js
parent1707172b35661330c34ed90209676ecc945611f9 (diff)
downloaddexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.tar.gz
dexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.tar.zst
dexon-wallet-b9b8c9d70bfa12aa5c752f05d676b2e1a67405b6.zip
Update Dexon wording
Diffstat (limited to 'ui/app/conversion-util.js')
-rw-r--r--ui/app/conversion-util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/conversion-util.js b/ui/app/conversion-util.js
index 8cc53177..948ac3a0 100644
--- a/ui/app/conversion-util.js
+++ b/ui/app/conversion-util.js
@@ -53,12 +53,12 @@ const toBigNumber = {
const toNormalizedDenomination = {
WEI: bigNumber => bigNumber.div(BIG_NUMBER_WEI_MULTIPLIER),
GWEI: bigNumber => bigNumber.div(BIG_NUMBER_GWEI_MULTIPLIER),
- ETH: bigNumber => bigNumber.div(BIG_NUMBER_ETH_MULTIPLIER),
+ DEX: bigNumber => bigNumber.div(BIG_NUMBER_ETH_MULTIPLIER),
}
const toSpecifiedDenomination = {
WEI: bigNumber => bigNumber.times(BIG_NUMBER_WEI_MULTIPLIER).round(),
GWEI: bigNumber => bigNumber.times(BIG_NUMBER_GWEI_MULTIPLIER).round(9),
- ETH: bigNumber => bigNumber.times(BIG_NUMBER_ETH_MULTIPLIER).round(9),
+ DEX: bigNumber => bigNumber.times(BIG_NUMBER_ETH_MULTIPLIER).round(9),
}
const baseChange = {
hex: n => n.toString(16),