aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-11-29 07:35:20 +0800
committerDan Finlay <dan@danfinlay.com>2017-11-29 07:35:20 +0800
commitbd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5 (patch)
tree5db821f2b429afec3954f531384aa4d60c874b3b
parent049ec52a95d0323c2b79cbd785582c5d6a90cb52 (diff)
downloadtangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar.gz
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar.bz2
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar.lz
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar.xz
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.tar.zst
tangerine-wallet-browser-bd82b173106d8b6d4c7b47a4f6c30d59b76bf8c5.zip
Linted
-rw-r--r--app/scripts/metamask-controller.js2
-rw-r--r--app/scripts/notice-controller.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 0c759010b..94831e8ef 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -486,7 +486,7 @@ module.exports = class MetamaskController extends EventEmitter {
vault = await this.keyringController.fullUpdate()
} else {
- let vault = await this.keyringController.createNewVaultAndKeychain(password)
+ vault = await this.keyringController.createNewVaultAndKeychain(password)
this.selectFirstIdentity(vault)
}
release()
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js
index efad3e516..db2b8c4f4 100644
--- a/app/scripts/notice-controller.js
+++ b/app/scripts/notice-controller.js
@@ -77,7 +77,7 @@ module.exports = class NoticeController extends EventEmitter {
return uniqBy(oldNotices.concat(newNotices), 'id')
}
- _filterNotices( notices ) {
+ _filterNotices(notices) {
return notices.filter((newNotice) => {
if ('version' in newNotice) {
const satisfied = semver.satisfies(this.version, newNotice.version)