diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-13 04:04:21 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-13 04:04:21 +0800 |
commit | 3954ed2a7e28fd57f4705bbff30cb248c2d02392 (patch) | |
tree | 9ec752d17577d2fd93312ef9ff0b81644341199c /app | |
parent | d67a5031c7f2b4cd14d3d27f3769a31769012f54 (diff) | |
download | tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar.gz tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar.bz2 tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar.lz tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar.xz tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.tar.zst tangerine-wallet-browser-3954ed2a7e28fd57f4705bbff30cb248c2d02392.zip |
Fix misnamed variable.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/metamask-controller.js | 6 |
1 files changed, 4 insertions, 2 deletions
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.') |