diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-10-13 04:49:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 04:49:18 +0800 |
commit | 465cff78c33385c7f108e7539f484119f7a03767 (patch) | |
tree | b287ae4a264fd29f5ec8b5fe2c97564fb80f62f8 | |
parent | 88a68f732ee068d5f230708927207e3f84c43ad0 (diff) | |
parent | f68673e84ac48c5574b642b3b779d4d43954d98f (diff) | |
download | tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar.gz tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar.bz2 tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar.lz tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar.xz tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.tar.zst tangerine-wallet-browser-465cff78c33385c7f108e7539f484119f7a03767.zip |
Merge branch 'master' into i695-dapp-reload
-rw-r--r-- | app/scripts/metamask-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 550531d6e..65c5ba58b 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -280,9 +280,9 @@ module.exports = class MetamaskController { checkTOSChange () { try { const storedHash = this.configManager.getTOSHash() || 0 - if (storedHash !== global.newTOSHash) { + if (storedHash !== global.TOS_HASH) { this.resetDisclaimer() - this.setTOSHash(global.newTOSHash) + this.setTOSHash(global.TOS_HASH) } } catch (e) { console.error('Error in checking TOS change.') |