diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-11-17 08:54:55 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2018-11-17 08:54:55 +0800 |
commit | 1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8 (patch) | |
tree | b86a7ebbafd300151f12816c19999bb890ebe034 /app/scripts/metamask-controller.js | |
parent | ce147bf6d8431f4f0cb5b4de46a5af9628b3e9e2 (diff) | |
download | tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar.gz tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar.bz2 tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar.lz tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar.xz tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.tar.zst tangerine-wallet-browser-1988e1e96b09a47ad5428083bb2ed38cb2d7e0a8.zip |
ESLint fixes (#5775)
* eslint . --fix
* Upgrade all ESLint warnings to errors
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 641a7ef3f..f3cd078b8 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -200,7 +200,7 @@ module.exports = class MetamaskController extends EventEmitter { this.networkController.on('networkDidChange', () => { this.balancesController.updateAllBalances() var currentCurrency = this.currencyController.getCurrentCurrency() - this.setCurrentCurrency(currentCurrency, function() {}) + this.setCurrentCurrency(currentCurrency, function () {}) }) this.balancesController.updateAllBalances() @@ -1581,7 +1581,7 @@ module.exports = class MetamaskController extends EventEmitter { /** * Locks MetaMask */ - setLocked() { + setLocked () { this.providerApprovalController.setLocked() return this.keyringController.setLocked() } |