Rollback custom dPath for RSK/ETC
This commit is contained in:
parent
8a04cd5985
commit
693cb8b8ce
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- [#347](https://github.com/poanetwork/nifty-wallet/pull/347) - Rollback custom dPath for RSK/ETC
|
||||||
|
|
||||||
## 5.0.0 Tue Mar 31 2020
|
## 5.0.0 Tue Mar 31 2020
|
||||||
|
|
||||||
- [#340](https://github.com/poanetwork/nifty-wallet/pull/340), [#342](https://github.com/poanetwork/nifty-wallet/pull/342) - (Feature) Update in-page provider (EIP-1193)
|
- [#340](https://github.com/poanetwork/nifty-wallet/pull/340), [#342](https://github.com/poanetwork/nifty-wallet/pull/342) - (Feature) Update in-page provider (EIP-1193)
|
||||||
|
|
|
@ -39,7 +39,7 @@ const {
|
||||||
RSK,
|
RSK,
|
||||||
RSK_TESTNET,
|
RSK_TESTNET,
|
||||||
RSK_TICK,
|
RSK_TICK,
|
||||||
customDPaths,
|
// customDPaths,
|
||||||
} = require('../../app/scripts/controllers/network/enums')
|
} = require('../../app/scripts/controllers/network/enums')
|
||||||
|
|
||||||
var valueTable = {
|
var valueTable = {
|
||||||
|
@ -557,7 +557,9 @@ function getNetworkID ({ network }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDPath (network) {
|
function getDPath (network) {
|
||||||
return customDPaths[network] || `m/44'/60'/0'/0`
|
// todo: return when the robust solution will be ready
|
||||||
|
return `m/44'/60'/0'/0`
|
||||||
|
// return customDPaths[network] || `m/44'/60'/0'/0`
|
||||||
}
|
}
|
||||||
|
|
||||||
function setDPath (keyring, network) {
|
function setDPath (keyring, network) {
|
||||||
|
|
Loading…
Reference in New Issue