diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-29 14:14:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-29 14:14:38 +0800 |
commit | 7e87600042805727a9e99e62c8bf23819f6d0b0f (patch) | |
tree | a9f593350475aec4cdc13f8614dd5389198bb976 | |
parent | 09601439e38e2681c434f23bc77c3b7665f8c98a (diff) | |
download | tangerine-wallet-browser-7e87600042805727a9e99e62c8bf23819f6d0b0f.tar.gz tangerine-wallet-browser-7e87600042805727a9e99e62c8bf23819f6d0b0f.tar.zst tangerine-wallet-browser-7e87600042805727a9e99e62c8bf23819f6d0b0f.zip |
metamask-controller - lint fix
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 01adc3596..0457b4476 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -613,7 +613,7 @@ module.exports = class MetamaskController extends EventEmitter { const keyring = await this.keyringController.addNewKeyring('Simple Key Pair', [ privateKey ]) const accounts = await keyring.getAccounts() // update accounts in preferences controller - const allAccounts = await keyringController.getAccounts() + const allAccounts = await this.keyringController.getAccounts() this.preferencesController.setAddresses(allAccounts) // set new account as selected await this.preferencesController.setSelectedAddress(accounts[0]) |