aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-08-14 13:26:18 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-08-14 13:26:18 +0800
commit61a279204a804ddf4815d0db6103c19c5640bbb9 (patch)
treef2e1bea86e79f1f43191d05ed18d9e870fb2fc45 /app/scripts/metamask-controller.js
parent4e1d8ba19db729f5c282c4e3c6b43433b562a45e (diff)
downloadtangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar.gz
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar.bz2
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar.lz
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar.xz
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.tar.zst
tangerine-wallet-browser-61a279204a804ddf4815d0db6103c19c5640bbb9.zip
legacy and new hd path working
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index beaf04c0d..b1473390b 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -556,10 +556,11 @@ module.exports = class MetamaskController extends EventEmitter {
keyring = await this.keyringController.addNewKeyring(keyringName)
}
if (hdPath) {
- console.log('[LEDGER]: HDPATH set', hdPath)
keyring.hdPath = hdPath
}
+ keyring.network = this.networkController.getProviderConfig().type
+
return keyring
}