From b508541935b5cbd8202e3d6cfc4d0584e6518b46 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 12 Sep 2016 22:13:52 -0700 Subject: Fix cache clearing reference for Opera For some reason Chrome didn't mind this awful bug, but Opera caught it. --- app/scripts/lib/idStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/scripts') diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index b5b13a57a..89c0c3abc 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -505,7 +505,7 @@ IdentityStore.prototype.purgeCache = function () { this._currentState.identities = {} let accounts try { - Object.keys(this._ethStore._currentState.accounts) + accounts = Object.keys(this._ethStore._currentState.accounts) } catch (e) { accounts = [] } -- cgit v1.2.3