aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-30 10:30:31 +0800
committerDan <danjm.com@gmail.com>2018-03-30 10:30:31 +0800
commit717623e2e388f488d71bd6e19095645cd8095a99 (patch)
tree7c16960c017585e2823c927199c4b98b93aecbbd /old-ui
parent01e3293b65bb153325479f7366113e037fee659b (diff)
parent9d4be1842e7c56e3bfde529ff555dcae8dec3dbd (diff)
downloadtangerine-wallet-browser-717623e2e388f488d71bd6e19095645cd8095a99.tar.gz
tangerine-wallet-browser-717623e2e388f488d71bd6e19095645cd8095a99.tar.zst
tangerine-wallet-browser-717623e2e388f488d71bd6e19095645cd8095a99.zip
Merge branch 'master' into i3686-txparamundefined-sigrequestsintxlist
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,
]),