diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-07 16:42:13 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-07 16:42:13 +0800 |
commit | e4f2cd2e092d421f93fd9e6678f6f916a33f9760 (patch) | |
tree | 2ee30b919bd99743cab770e70f40909793edd015 | |
parent | 7c5ebb6a534dffdf08a45d96a9b53ee54ffc74b0 (diff) | |
download | tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar.gz tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar.bz2 tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar.lz tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar.xz tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.tar.zst tangerine-wallet-browser-e4f2cd2e092d421f93fd9e6678f6f916a33f9760.zip |
Fix retention of terms of service hash across reloads of plugin.
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |