TransactionBuilder: add note why fixMultisigOrder is separate
This commit is contained in:
parent
7059b177eb
commit
9dcf4d4b8b
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ function expandInput (scriptSig, redeemScript) {
|
|||
}
|
||||
}
|
||||
|
||||
// could be done in expandInput, but requires the original Transaction for hashForSignature
|
||||
function fixMultisigOrder (input, transaction, vin) {
|
||||
if (input.redeemScriptType !== 'multisig' || !input.redeemScript) return
|
||||
if (input.pubKeys.length === input.signatures.length) return
|
||||
|
|
Loading…
Add table
Reference in a new issue