From e4f2cd2e092d421f93fd9e6678f6f916a33f9760 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Fri, 7 Oct 2016 01:42:13 -0700 Subject: [PATCH] Fix retention of terms of service hash across reloads of plugin. --- app/scripts/metamask-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 0a37bf292..7b7bd1c1b 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -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() }