diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-04 03:46:15 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-04 03:46:15 +0800 |
commit | 9d3f2435e58e2454506ea1a5f7b85452a10edffa (patch) | |
tree | 417359c428576c000873c83b23c79f57c58bcbc0 /app/scripts/metamask-controller.js | |
parent | 3837c2ddd7b3ea7a301f9296176273ac84d90480 (diff) | |
download | tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.gz tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.bz2 tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.lz tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.xz tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.zst tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.zip |
lint fix
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 6e743d030..962611758 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -532,10 +532,10 @@ module.exports = class MetamaskController extends EventEmitter { 'Trezor Hardware' )[0] if (!keyring) { - keyring = await this.keyringController.addNewKeyring('Trezor Hardware') + keyring = await this.keyringController.addNewKeyring('Trezor Hardware') } - const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage() + const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage() this.accountTracker.syncWithAddresses(accounts.map(a => a.address)) return accounts |