added comp wif to csv
This commit is contained in:
parent
099201cc62
commit
bdaa695478
1 changed files with 2 additions and 2 deletions
|
@ -3763,7 +3763,7 @@
|
|||
return privWif;
|
||||
};
|
||||
|
||||
// Compressed Sipa Private Key Wallet Import Format (added by coretechs)
|
||||
// Compressed Sipa Private Key Wallet Import Format
|
||||
ECKey.prototype.getBitcoinWalletImportFormatComp = function () {
|
||||
// Get a copy of private key as a byte array
|
||||
var bytes = this.priv.toByteArrayUnsigned();
|
||||
|
@ -4417,7 +4417,7 @@
|
|||
var key = new Bitcoin.ECKey(false);
|
||||
|
||||
bulkWallet.csv.push((bulkWallet.csvRowLimit - bulkWallet.csvRowsRemaining + bulkWallet.csvStartIndex)
|
||||
+ ",\"" + key.getBitcoinAddress() + "\",\"" + key.getBitcoinWalletImportFormat()
|
||||
+ ",\"" + key.getBitcoinAddress() + "\",\"" + key.toString("wif") + "\",\"" + key.toString("wifcomp")
|
||||
//+ "\",\"" + key.getBitcoinHexFormat() + "\",\"" + key.toString("base64") // uncomment this line to add different private key formats to the CSV
|
||||
+ "\"");
|
||||
|
||||
|
|
Loading…
Reference in a new issue