diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-07-01 05:34:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-01 05:34:08 +0800 |
commit | 213c84336e1083f4abe278ac2f70c45124c6ab62 (patch) | |
tree | aace1bb372fb2614281b7810b0b621ce412b7819 /app/scripts | |
parent | 9a8ede22106c3f59d014be4905a078711180d30c (diff) | |
parent | db3f73344b9b61c8ccb1cadb5e2113652c40df11 (diff) | |
download | tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.gz tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.bz2 tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.lz tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.xz tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.zst tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.zip |
Merge pull request #373 from MetaMask/DoubleConfirmation
Double confirmation
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/lib/config-manager.js | 6 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index 0af82c89c..caaae8a75 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -149,12 +149,6 @@ ConfigManager.prototype.getCurrentRpcAddress = function () { } } -ConfigManager.prototype.clearWallet = function () { - var data = this.getConfig() - delete data.wallet - this.setData(data) -} - ConfigManager.prototype.setData = function (data) { this.migrator.saveData(data) } diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index f705c07a7..cbc8c1e48 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -43,9 +43,6 @@ function IdentityStore (opts = {}) { IdentityStore.prototype.createNewVault = function (password, entropy, cb) { delete this._keyStore - if (this.configManager) { - this.configManager.clearWallet() - } this._createIdmgmt(password, null, entropy, (err) => { if (err) return cb(err) |