From 6fef01c8a156c70e5a6034767a7ce86506f566f3 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 30 Jun 2016 11:31:27 -0700 Subject: [PATCH] Emphasizing how weird this bug is by removing all behavior from the method. --- app/scripts/lib/config-manager.js | 6 +----- 1 file changed, 1 insertion(+), 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)