aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-01 02:31:27 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-01 02:31:27 +0800
commit6fef01c8a156c70e5a6034767a7ce86506f566f3 (patch)
tree47346979d16c84541677e33802c26a6e4e5aade3 /app/scripts
parentf49b6ca1dc6b71a3280135a0a901311b289c26ed (diff)
downloadtangerine-wallet-browser-6fef01c8a156c70e5a6034767a7ce86506f566f3.tar.gz
tangerine-wallet-browser-6fef01c8a156c70e5a6034767a7ce86506f566f3.tar.zst
tangerine-wallet-browser-6fef01c8a156c70e5a6034767a7ce86506f566f3.zip
Emphasizing how weird this bug is by removing all behavior from the method.
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/config-manager.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index 337671c42..ca115d49e 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -149,11 +149,7 @@ ConfigManager.prototype.getCurrentRpcAddress = function () {
}
}
-ConfigManager.prototype.clearWallet = function () {
- var data = this.getConfig()
- delete data.wallet
- this.setConfig(data)
-}
+ConfigManager.prototype.clearWallet = function () {}
ConfigManager.prototype.setData = function (data) {
this.migrator.saveData(data)