Merge branch 'master' into i695-dapp-reload

This commit is contained in:
kumavis 2016-10-12 13:49:18 -07:00 committed by GitHub
commit 465cff78c3
1 changed files with 2 additions and 2 deletions

View File

@ -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.')