We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d1404 commit 0ea0a98Copy full SHA for 0ea0a98
app/scripts/lib/idStore.js
@@ -503,7 +503,12 @@ IdentityStore.prototype._createIdMgmt = function (derivedKey) {
503
504
IdentityStore.prototype.purgeCache = function () {
505
this._currentState.identities = {}
506
- var accounts = Object.keys(this._ethStore._currentState.accounts)
+ let accounts
507
+ try {
508
+ Object.keys(this._ethStore._currentState.accounts)
509
+ } catch (e) {
510
+ accounts = []
511
+ }
512
accounts.forEach((address) => {
513
this._ethStore.removeAccount(address)
514
})
0 commit comments