Merge pull request #2 from robjohnson189/networkfix

passing in network to toWIF
This commit is contained in:
iancoleman
2014-09-27 09:12:54 +10:00
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);
}
}