timmattison / brick-rope

GNU General Public License v2.0
0 stars 1 forks source link

Remove redundant checking of the last byte of the signature #18

Closed timmattison closed 10 years ago

timmattison commented 10 years ago

The last byte is the hash type and this is checked during OP_CHECKSIG but apparently due to some old code it is checked twice. The duplicate check is actually more strict than the first so nothing slipped through the cracks but unfortunately it is too strict.