aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-10-26 02:38:32 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-10-26 02:38:32 +0800
commit7f093f67a7da3e67f077dc3e5a66d765aa6794c0 (patch)
tree8d554d8fd25e021567e5be725e17f62f469b6a41 /ui
parentdee172fb3a3fd0442ff94d1afc0bc0c4c2a81ae5 (diff)
downloadtangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar.gz
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar.bz2
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar.lz
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar.xz
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.tar.zst
tangerine-wallet-browser-7f093f67a7da3e67f077dc3e5a66d765aa6794c0.zip
Cut out intermediary wei steps.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index 7d907ca18..6621e2483 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -15,10 +15,8 @@ const addressSummary = util.addressSummary
const nameForAddress = require('../../lib/contract-namer')
const BNInput = require('./bn-as-decimal-input')
-const MIN_GAS_PRICE_MWEI_BN = new BN('100')
-const MWEI_FACTOR = new BN(1e6)
-const MIN_GAS_PRICE_BN = MIN_GAS_PRICE_MWEI_BN.mul(MWEI_FACTOR)
-const MIN_GAS_LIMIT_BN = new BN(21000)
+const MIN_GAS_PRICE_BN = new BN('100000000')
+const MIN_GAS_LIMIT_BN = new BN('21000')
module.exports = PendingTx
inherits(PendingTx, Component)