vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.3k stars 861 forks source link

verify_tx_input does not respect sig hashtype #14

Closed norill closed 10 years ago

norill commented 10 years ago

its trivial to fix, just add hashcode argument to signature_form call in transaction.py:242 and change ord to int in line above

norill commented 10 years ago

it needs a bit more work to respect SIGHASH_ANYONECANPAY as well