parent
4b1b9d9cb6
commit
142b847968
1 changed files with 2 additions and 2 deletions
|
@ -36,9 +36,9 @@ function arrayEqual(a, b) {
|
|||
|
||||
HDWallet.getChecksum = base58.getChecksum;
|
||||
|
||||
HDWallet.fromMasterHex = function(hex) {
|
||||
HDWallet.fromMasterHex = function(hex, network) {
|
||||
var bytes = convert.hexToBytes(hex)
|
||||
return new HDWallet(convert.bytesToString(bytes))
|
||||
return new HDWallet(convert.bytesToString(bytes), network)
|
||||
}
|
||||
|
||||
HDWallet.fromBase58 = function(input) {
|
||||
|
|
Loading…
Add table
Reference in a new issue