aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-13 13:13:52 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-13 13:13:52 +0800
commitb508541935b5cbd8202e3d6cfc4d0584e6518b46 (patch)
tree001bf951e017de444d6ca975c6911416193c35c8
parentf70bb30d2c0839c02d3f19c8e1bf282caf30cc70 (diff)
downloadtangerine-wallet-browser-b508541935b5cbd8202e3d6cfc4d0584e6518b46.tar.gz
tangerine-wallet-browser-b508541935b5cbd8202e3d6cfc4d0584e6518b46.tar.zst
tangerine-wallet-browser-b508541935b5cbd8202e3d6cfc4d0584e6518b46.zip
Fix cache clearing reference for Opera
For some reason Chrome didn't mind this awful bug, but Opera caught it.
-rw-r--r--CHANGELOG.md4
-rw-r--r--app/manifest.json2
-rw-r--r--app/scripts/lib/idStore.js2
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1fb24f3ca..453823f88 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
## Current Master
+## 2.11.1 2016-09-12
+
+- Fix bug that prevented caches from being cleared in Opera.
+
## 2.11.0 2016-09-12
- Fix bug where pending transactions from Test net (or other networks) show up In Main net.
diff --git a/app/manifest.json b/app/manifest.json
index 9b66260cd..a21e0612a 100644
--- a/app/manifest.json
+++ b/app/manifest.json
@@ -1,7 +1,7 @@
{
"name": "MetaMask",
"short_name": "Metamask",
- "version": "2.11.0",
+ "version": "2.11.1",
"manifest_version": 2,
"author": "https://metamask.io",
"description": "Ethereum Browser Extension",
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 = []
}