passing in network to toWIF

This commit is contained in:
Robert Johnson
2014-09-26 09:31:05 -05:00
parent bade150497
commit ec1e50dfeb
2 changed files with 2 additions and 2 deletions

View File

@@ -22942,7 +22942,7 @@ WORDLISTS = {
var index = i+ start;
var key = bip32ExtendedKey.derive(index);
var address = key.getAddress().toString();
var privkey = key.privKey.toWIF();
var privkey = key.privKey.toWIF(network);
addAddressToList(index, address, privkey);
}
}

View File

@@ -241,7 +241,7 @@
var index = i+ start;
var key = bip32ExtendedKey.derive(index);
var address = key.getAddress().toString();
var privkey = key.privKey.toWIF();
var privkey = key.privKey.toWIF(network);
addAddressToList(index, address, privkey);
}
}