aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-07 16:54:12 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-07 16:54:12 +0800
commit21d19594356a5725976180f00bb07468465c8a54 (patch)
tree909f262d4f265b78d8a2efa34be8ac8f2e8b6a75 /app/scripts/metamask-controller.js
parente4f2cd2e092d421f93fd9e6678f6f916a33f9760 (diff)
downloadtangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar.gz
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar.bz2
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar.lz
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar.xz
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.tar.zst
tangerine-wallet-browser-21d19594356a5725976180f00bb07468465c8a54.zip
Fix linting and guarantees set TOS hash.
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js1
1 files changed, 1 insertions, 0 deletions
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()
}