From 21d19594356a5725976180f00bb07468465c8a54 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Fri, 7 Oct 2016 01:54:12 -0700 Subject: [PATCH] Fix linting and guarantees set TOS hash. --- app/scripts/metamask-controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 7b7bd1c1b..c763d571c 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -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() }