Closed gitzhou closed 4 years ago
Nice catch. I feel like something this serious should be caught with a test case. What do you think?
Nice catch. I feel like something this serious should be caught with a test case. What do you think?
Seems we don't have test cases of OP_RETURN
Thanks @gitzhou!
Yes better test coverage would be good to have but for now I will only merge the fix until one of us get more time.
If there is a 76 bytes pushdata opreturn will get
4c ......
which is incorrect, should be4c 4c ......
insteadincorrect txid example
correct txid example