From 3954ed2a7e28fd57f4705bbff30cb248c2d02392 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Wed, 12 Oct 2016 13:04:21 -0700 Subject: Fix misnamed variable. --- app/scripts/metamask-controller.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 550531d6e..700d3f2ec 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -280,9 +280,11 @@ module.exports = class MetamaskController { checkTOSChange () { try { const storedHash = this.configManager.getTOSHash() || 0 - if (storedHash !== global.newTOSHash) { + console.log('storedHash is: ', storedHash) + console.log('global.TOS_HASH is: ', global.TOS_HASH) + 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.') -- cgit v1.2.3