Open sr-gi opened 7 years ago
Fixes #149
signature_form for SIGHASH_SINGLE and SIGHASH_NONE for transactions with more than one input/output was not correctly created.
nSequence for inputs different than the signed index should be set to 0 in both cases.
Moreover, the whole format of SIGHASH_SINGLE was incorrect if a transaction with more than 1 input/output was created.
Hi, why dont you guys merge this fix?
regards
Seems that no one is taking care of pull requests. Just two really basic ones have been merged throughout this year.
Fixes #149
signature_form for SIGHASH_SINGLE and SIGHASH_NONE for transactions with more than one input/output was not correctly created.
nSequence for inputs different than the signed index should be set to 0 in both cases.
Moreover, the whole format of SIGHASH_SINGLE was incorrect if a transaction with more than 1 input/output was created.