aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-05-29 14:14:38 +0800
committerkumavis <aaron@kumavis.me>2018-05-29 14:25:48 +0800
commitc9f3404ca5b04df859f765f9f8e90f21737142c1 (patch)
tree7e326e2c848d49baf19484eba16b74eea8606bec /app
parentfe42de46422c89156e91fb08ee06f50511c8601f (diff)
downloadtangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar.gz
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar.bz2
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar.lz
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar.xz
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.tar.zst
tangerine-wallet-browser-c9f3404ca5b04df859f765f9f8e90f21737142c1.zip
metamask-controller - lint fix
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index ed606d4ab..2e74b3a20 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -608,7 +608,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])