Merge pull request #733 from MetaMask/tos-fix

Fix misnamed variable.
feature/default_network_editable
Kevin Serrano 8 years ago committed by GitHub
commit f68673e84a
  1. 4
      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.')

Loading…
Cancel
Save