aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/idStore.js
diff options
context:
space:
mode:
authorDan Finlay <somniac@me.com>2016-12-20 08:01:01 +0800
committerGitHub <noreply@github.com>2016-12-20 08:01:01 +0800
commitead8329877c5441f32ab389adb41689086a38608 (patch)
tree6ddf346b7627ea0556db2e94a8164dfa5a34e6ae /app/scripts/lib/idStore.js
parentf7eec0b282de511d54fd50f2c75d7371ca6f399d (diff)
parent9c8345467c871b29193263a13e8e8d3ebb47c7fb (diff)
downloadtangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.tar.gz
tangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.tar.zst
tangerine-wallet-browser-ead8329877c5441f32ab389adb41689086a38608.zip
Merge pull request #937 from MetaMask/i900-forgot-password-flow
I900 forgot password flow
Diffstat (limited to 'app/scripts/lib/idStore.js')
-rw-r--r--app/scripts/lib/idStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index d36504f13..cf4353e48 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -258,7 +258,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
function estimateGas (cb) {
var estimationParams = extend(txParams)
- query.getBlockByNumber('latest', true, function(err, block){
+ query.getBlockByNumber('latest', true, function (err, block) {
if (err) return cb(err)
// check if gasLimit is already specified
const gasLimitSpecified = Boolean(txParams.gas)
@@ -267,7 +267,7 @@ IdentityStore.prototype.addUnconfirmedTransaction = function (txParams, onTxDone
estimationParams.gas = block.gasLimit
}
// run tx, see if it will OOG
- query.estimateGas(estimationParams, function(err, estimatedGasHex){
+ query.estimateGas(estimationParams, function (err, estimatedGasHex) {
if (err) return cb(err.message || err)
// all gas used - must be an error
if (estimatedGasHex === estimationParams.gas) {