aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-07-01 05:34:08 +0800
committerGitHub <noreply@github.com>2016-07-01 05:34:08 +0800
commit213c84336e1083f4abe278ac2f70c45124c6ab62 (patch)
treeaace1bb372fb2614281b7810b0b621ce412b7819 /app
parent9a8ede22106c3f59d014be4905a078711180d30c (diff)
parentdb3f73344b9b61c8ccb1cadb5e2113652c40df11 (diff)
downloadtangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.gz
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.tar.zst
tangerine-wallet-browser-213c84336e1083f4abe278ac2f70c45124c6ab62.zip
Merge pull request #373 from MetaMask/DoubleConfirmation
Double confirmation
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/config-manager.js6
-rw-r--r--app/scripts/lib/idStore.js3
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)