1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix retention of terms of service hash across reloads of plugin.

This commit is contained in:
Kevin Serrano 2016-10-07 01:42:13 -07:00
parent 7c5ebb6a53
commit e4f2cd2e09
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -25,7 +25,7 @@ module.exports = class MetamaskController {
var currentFiat = this.configManager.getCurrentFiat() || 'USD'
this.configManager.setCurrentFiat(currentFiat)
this.configManager.updateConversionRate()
this.configManager.setTOSHash(0)
var currentHash = this.configManager.getTOSHash() || 0
this.scheduleConversionInterval()
}