Fix linting and guarantees set TOS hash.

This commit is contained in:
Kevin Serrano 2016-10-07 01:54:12 -07:00
parent e4f2cd2e09
commit 21d1959435
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
1 changed files with 1 additions and 0 deletions

View File

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