diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-30 04:57:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 04:57:43 +0800 |
commit | 971204eb06a80f3e4dfea9dcc4f34faf06de8923 (patch) | |
tree | 7c99679f2df4fb6cedf1ec9ad0fa21dae705a3d0 /old-ui/app/components/pending-tx.js | |
parent | 552fb1fabecd2f2de0c500aeee2fe633e69e7f5a (diff) | |
parent | 9ec42a87b3d7cf669082c046c5acbd1bc0f5f747 (diff) | |
download | tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar.gz tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar.bz2 tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar.lz tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar.xz tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.tar.zst tangerine-wallet-browser-971204eb06a80f3e4dfea9dcc4f34faf06de8923.zip |
Merge branch 'master' into e2e-selector
Diffstat (limited to 'old-ui/app/components/pending-tx.js')
-rw-r--r-- | old-ui/app/components/pending-tx.js | 6 |
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, ]), |