diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-05 07:03:45 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-05 07:03:45 +0800 |
commit | cf6817092b92930ab96e1c9e610669b485b384ff (patch) | |
tree | cfa92fa6bbdcd0be1dfbab5d805cf146ac81e416 /app/scripts/metamask-controller.js | |
parent | 4b17222a5994166e01486698803896fd2d60043c (diff) | |
download | tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar.gz tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar.bz2 tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar.lz tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar.xz tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.tar.zst tangerine-wallet-browser-cf6817092b92930ab96e1c9e610669b485b384ff.zip |
remove unnecessary try statments
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 4caad46e1..d520a59ad 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -165,7 +165,6 @@ module.exports = class MetamaskController { sendUpdate () { this.getState() .then((state) => { - this.listeners.forEach((remote) => { remote.sendUpdate(state) }) @@ -461,7 +460,7 @@ module.exports = class MetamaskController { return this.state.network } - markAccountsFound(cb) { + markAccountsFound (cb) { this.configManager.setLostAccounts([]) this.sendUpdate() cb(null, this.getState()) |