aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-30 06:36:00 +0800
committerDan <danjm.com@gmail.com>2018-03-30 06:36:00 +0800
commit949ac352de33fb8daf9ae4ea240e201cc25418c0 (patch)
treebc0d22a8d0fb7cd59ebec5d0cbe74f1960e18774 /old-ui
parent0a711f0de0e342b24988a5da4ca5c64342153210 (diff)
parent9ec42a87b3d7cf669082c046c5acbd1bc0f5f747 (diff)
downloadtangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar.gz
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar.bz2
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar.lz
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar.xz
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.tar.zst
tangerine-wallet-browser-949ac352de33fb8daf9ae4ea240e201cc25418c0.zip
Merge branch 'master' into i3787-make-t-available-via-context
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/pending-tx.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/old-ui/app/components/pending-tx.js b/old-ui/app/components/pending-tx.js
index 720df2243..7f63d9fdf 100644
--- a/old-ui/app/components/pending-tx.js
+++ b/old-ui/app/components/pending-tx.js
@@ -62,8 +62,8 @@ PendingTx.prototype.render = function () {
const gasBn = hexToBn(gas)
// default to 8MM gas limit
const gasLimit = new BN(parseInt(blockGasLimit) || '8000000')
- const safeGasLimitBN = this.bnMultiplyByFraction(gasLimit, 19, 20)
- const saferGasLimitBN = this.bnMultiplyByFraction(gasLimit, 18, 20)
+ const safeGasLimitBN = this.bnMultiplyByFraction(gasLimit, 99, 100)
+ const saferGasLimitBN = this.bnMultiplyByFraction(gasLimit, 98, 100)
const safeGasLimit = safeGasLimitBN.toString(10)
// Gas Price
@@ -311,7 +311,7 @@ PendingTx.prototype.render = function () {
style: {
fontSize: '0.9em',
},
- }, 'Gas limit set dangerously high. Approving this transaction is likely to fail.')
+ }, 'Gas limit set dangerously high. Approving this transaction is liable to fail.')
: null,
]),