diff options
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/components/pending-tx.js | 12 | ||||
-rw-r--r-- | old-ui/app/config.js | 2 | ||||
-rw-r--r-- | old-ui/app/css/index.css | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/old-ui/app/components/pending-tx.js b/old-ui/app/components/pending-tx.js index 366121ce0..10208b5ce 100644 --- a/old-ui/app/components/pending-tx.js +++ b/old-ui/app/components/pending-tx.js @@ -38,6 +38,16 @@ PendingTx.prototype.render = function () { const txMeta = this.gatherTxMeta() const txParams = txMeta.txParams || {} + // Allow retry txs + const { lastGasPrice } = txMeta + let forceGasMin + if (lastGasPrice) { + const stripped = ethUtil.stripHexPrefix(lastGasPrice) + const lastGas = new BN(stripped, 16) + const priceBump = lastGas.divn('10') + forceGasMin = lastGas.add(priceBump) + } + // Account Details const address = txParams.from || props.selectedAddress const identity = props.identities[address] || { address: address } @@ -199,7 +209,7 @@ PendingTx.prototype.render = function () { precision: 9, scale: 9, suffix: 'GWEI', - min: MIN_GAS_PRICE_BN, + min: forceGasMin || MIN_GAS_PRICE_BN, style: { position: 'relative', top: '5px', diff --git a/old-ui/app/config.js b/old-ui/app/config.js index acd101947..75198fba5 100644 --- a/old-ui/app/config.js +++ b/old-ui/app/config.js @@ -119,7 +119,7 @@ ConfigScreen.prototype.render = function () { if (err) { state.dispatch(actions.displayWarning('Error in retrieving state logs.')) } else { - exportAsFile('MetaMask State Logs', result) + exportAsFile('MetaMask State Logs.json', result) } }) }, diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css index 1dcda897b..3cbf20e98 100644 --- a/old-ui/app/css/index.css +++ b/old-ui/app/css/index.css @@ -107,6 +107,10 @@ button:not([disabled]):active, input[type="submit"]:not([disabled]):active { transform: scale(0.95); } +.grow-on-hover:hover { + transform: scale(1.05); +} + a { text-decoration: none; color: inherit; |