Fix
This commit is contained in:
parent
3a964cbe23
commit
872952ecb7
|
@ -161,7 +161,8 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||
})
|
||||
|
||||
// key mgmt
|
||||
const additionalKeyrings = [TrezorKeyring, LedgerBridgeKeyring]
|
||||
// const trezorKeyring = new TrezorKeyring({hdPath: `m/44'/137'/0'/0`})
|
||||
const additionalKeyrings = [new TrezorKeyring({hdPath: `m/44'/137'/0'/0`}), LedgerBridgeKeyring]
|
||||
this.keyringController = new KeyringController({
|
||||
keyringTypes: additionalKeyrings,
|
||||
initState: initState.KeyringController,
|
||||
|
|
|
@ -204,7 +204,7 @@ class ConnectHardwareForm extends Component {
|
|||
return (
|
||||
<AccountList
|
||||
onPathChange={this.onPathChange}
|
||||
selectedPath={this.props.defaultHdPaths[this.state.device]}
|
||||
selectedPath={this._setHdPath(this.state.device)}
|
||||
device={this.state.device}
|
||||
accounts={this.state.accounts}
|
||||
selectedAccount={this.state.selectedAccount}
|
||||
|
|
|
@ -38,13 +38,13 @@ function getHdPaths (network) {
|
|||
return hdPaths
|
||||
}
|
||||
|
||||
const hdRSKMainnetTrezorPath = `m/44’/137’/0’/0`
|
||||
const hdRSKMainnetLedgerPath = `m/44’/137’/0’/0`
|
||||
const hdRSKMainnetLedgerLivePath = `m/44’/137’/0’/0`
|
||||
const hdRSKMainnetTrezorPath = `m/44'/137'/0'/0`
|
||||
const hdRSKMainnetLedgerPath = `m/44'/137'/0'/0`
|
||||
const hdRSKMainnetLedgerLivePath = `m/44'/137'/0'/0`
|
||||
|
||||
const hdRSKTestnetTrezorPath = `m/44’/37310’/0’/0`
|
||||
const hdRSKTestnetLedgerPath = `m/44’/37310’/0’/0`
|
||||
const hdRSKTestnetLedgerLivePath = `m/44’/37310’/0’/0`
|
||||
const hdRSKTestnetTrezorPath = `m/44'/37310'/0'/0`
|
||||
const hdRSKTestnetLedgerPath = `m/44'/37310'/0'/0`
|
||||
const hdRSKTestnetLedgerLivePath = `m/44'/37310'/0'/0`
|
||||
|
||||
const hdETCTrezorPath = `m/44'/61'/0'/0`
|
||||
const hdETCLedgerPath = `m/44'/61'/0'/0/0`
|
||||
|
|
|
@ -50683,7 +50683,8 @@
|
|||
},
|
||||
"tree-kill": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "",
|
||||
"resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.1.tgz",
|
||||
"integrity": "sha512-4hjqbObwlh2dLyW4tcz0Ymw0ggoaVDMveUB9w8kFSQScdRLo0gxO9J7WFcUBo+W3C1TLdFIEwNOWebgZZ0RH9Q==",
|
||||
"dev": true
|
||||
},
|
||||
"trezor-connect": {
|
||||
|
|
Loading…
Reference in New Issue