diff options
author | Dan <danjm.com@gmail.com> | 2017-10-31 05:46:56 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2017-11-07 03:37:02 +0800 |
commit | 716bbf67d7180ffe0f59d07484d30231ed5f5e49 (patch) | |
tree | 490719eef5a8aab92c3ebb70389eb9e1f8408bb5 /ui/app/conversion-util.js | |
parent | b16946723f94b855ab70469dca5899ad80f129b3 (diff) | |
download | tangerine-wallet-browser-716bbf67d7180ffe0f59d07484d30231ed5f5e49.tar.gz tangerine-wallet-browser-716bbf67d7180ffe0f59d07484d30231ed5f5e49.tar.zst tangerine-wallet-browser-716bbf67d7180ffe0f59d07484d30231ed5f5e49.zip |
Set gas price allows for WEI precision.
Diffstat (limited to 'ui/app/conversion-util.js')
-rw-r--r-- | ui/app/conversion-util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/conversion-util.js b/ui/app/conversion-util.js index 3786641fb..ee831262b 100644 --- a/ui/app/conversion-util.js +++ b/ui/app/conversion-util.js @@ -53,7 +53,7 @@ const toNormalizedDenomination = { } const toSpecifiedDenomination = { WEI: bigNumber => bigNumber.times(BIG_NUMBER_WEI_MULTIPLIER).round(), - GWEI: bigNumber => bigNumber.times(BIG_NUMBER_GWEI_MULTIPLIER).round(1), + GWEI: bigNumber => bigNumber.times(BIG_NUMBER_GWEI_MULTIPLIER).round(9), } const baseChange = { hex: n => n.toString(16), |