melis-fork-claimer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,3 +6,3 @@ { | ||
"license": "ISC", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "src/index.js", | ||
@@ -9,0 +9,0 @@ "scripts": { |
@@ -833,2 +833,4 @@ // | ||
const account = claim.account | ||
console.log("# of inputs to sign: " + unspents.length + " account:", account) | ||
const signatures = [] | ||
@@ -842,6 +844,4 @@ for (let i = 0; i < unspents.length; i++) { | ||
//console.log("Input Script: " + inputScript.toString('hex')) | ||
const hashForSignature = this.hashForSignature(ins, i, inputScript, tx.outs, Bitcoin.Transaction.SIGHASH_ALL) | ||
//console.log("input #" + i + " hashForSig: ", hashForSignature.toString('hex')) | ||
const account = claim.account | ||
const key = melis.deriveAddressKey(account.num, aa.chain, aa.hdindex) | ||
@@ -848,0 +848,0 @@ const signature = key.sign(hashForSignature) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31477
940