Skip to content

Commit

Permalink
Rollback custom dPath for RSK/ETC
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Apr 6, 2020
1 parent 8a04cd5 commit 693cb8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions old-ui/app/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const {
RSK,
RSK_TESTNET,
RSK_TICK,
customDPaths,
// customDPaths,
} = require('../../app/scripts/controllers/network/enums')

var valueTable = {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 693cb8b

Please sign in to comment.