aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-13 04:08:37 +0800
committerGitHub <noreply@github.com>2016-10-13 04:08:37 +0800
commitf68673e84ac48c5574b642b3b779d4d43954d98f (patch)
tree436e55bcf694697baa10b03d176e6ba0a70cd3ad
parentd67a5031c7f2b4cd14d3d27f3769a31769012f54 (diff)
parentd750daed5ca0eccd741708e03a770b9f6c7ac36c (diff)
downloadtangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar.gz
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar.bz2
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar.lz
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar.xz
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.tar.zst
tangerine-wallet-browser-f68673e84ac48c5574b642b3b779d4d43954d98f.zip
Merge pull request #733 from MetaMask/tos-fix
Fix misnamed variable.
-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.')