pybitcointools icon indicating copy to clipboard operation
pybitcointools copied to clipboard

Fixes signature_form for SIGHASH_SINGLE and SIGHAS_NONE.

Open sr-gi opened this issue 7 years ago • 2 comments

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.

sr-gi avatar Jun 27 '17 10:06 sr-gi