Fix cache clearing reference for Opera

For some reason Chrome didn't mind this awful bug, but Opera caught it.
feature/default_network_editable
Dan Finlay 8 years ago
parent f70bb30d2c
commit b508541935
  1. 4
      CHANGELOG.md
  2. 2
      app/manifest.json
  3. 2
      app/scripts/lib/idStore.js

@ -2,6 +2,10 @@
## Current Master ## Current Master
## 2.11.1 2016-09-12
- Fix bug that prevented caches from being cleared in Opera.
## 2.11.0 2016-09-12 ## 2.11.0 2016-09-12
- Fix bug where pending transactions from Test net (or other networks) show up In Main net. - Fix bug where pending transactions from Test net (or other networks) show up In Main net.

@ -1,7 +1,7 @@
{ {
"name": "MetaMask", "name": "MetaMask",
"short_name": "Metamask", "short_name": "Metamask",
"version": "2.11.0", "version": "2.11.1",
"manifest_version": 2, "manifest_version": 2,
"author": "https://metamask.io", "author": "https://metamask.io",
"description": "Ethereum Browser Extension", "description": "Ethereum Browser Extension",

@ -505,7 +505,7 @@ IdentityStore.prototype.purgeCache = function () {
this._currentState.identities = {} this._currentState.identities = {}
let accounts let accounts
try { try {
Object.keys(this._ethStore._currentState.accounts) accounts = Object.keys(this._ethStore._currentState.accounts)
} catch (e) { } catch (e) {
accounts = [] accounts = []
} }

Loading…
Cancel
Save