1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fix cache clearing reference for Opera

For some reason Chrome didn't mind this awful bug, but Opera caught it.
This commit is contained in:
Dan Finlay 2016-09-12 22:13:52 -07:00
parent f70bb30d2c
commit b508541935
3 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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",

View File

@ -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 = []
} }