aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-10-13 04:49:18 +0800
committerGitHub <noreply@github.com>2016-10-13 04:49:18 +0800
commit465cff78c33385c7f108e7539f484119f7a03767 (patch)
treeb287ae4a264fd29f5ec8b5fe2c97564fb80f62f8 /app/scripts
parent88a68f732ee068d5f230708927207e3f84c43ad0 (diff)
parentf68673e84ac48c5574b642b3b779d4d43954d98f (diff)
downloadtangerine-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
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/metamask-controller.js4
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.')