Merge pull request #348 from poanetwork/vb-rollbackk-custom-dpath
Rollback custom dPath for RSK/ETC
This commit is contained in:
commit
0fcceb6fd4
|
@ -2,6 +2,8 @@
|
|||
|
||||
## Current Master
|
||||
|
||||
- [#347](https://github.com/poanetwork/nifty-wallet/pull/347) - Rollback custom dPath for RSK/ETC
|
||||
|
||||
## 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)
|
||||
|
|
|
@ -39,7 +39,7 @@ const {
|
|||
RSK,
|
||||
RSK_TESTNET,
|
||||
RSK_TICK,
|
||||
customDPaths,
|
||||
// customDPaths,
|
||||
} = require('../../app/scripts/controllers/network/enums')
|
||||
|
||||
var valueTable = {
|
||||
|
@ -557,7 +557,9 @@ function getNetworkID ({ 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) {
|
||||
|
|
Loading…
Reference in New Issue