mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
commit
f68673e84a
@ -280,9 +280,9 @@ module.exports = class MetamaskController {
|
|||||||
checkTOSChange () {
|
checkTOSChange () {
|
||||||
try {
|
try {
|
||||||
const storedHash = this.configManager.getTOSHash() || 0
|
const storedHash = this.configManager.getTOSHash() || 0
|
||||||
if (storedHash !== global.newTOSHash) {
|
if (storedHash !== global.TOS_HASH) {
|
||||||
this.resetDisclaimer()
|
this.resetDisclaimer()
|
||||||
this.setTOSHash(global.newTOSHash)
|
this.setTOSHash(global.TOS_HASH)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('Error in checking TOS change.')
|
console.error('Error in checking TOS change.')
|
||||||
|
Loading…
Reference in New Issue
Block a user