Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script parsing failing on non-standard but mined transactions #156

Open
bucko13 opened this issue Jan 30, 2024 · 1 comment
Open

Script parsing failing on non-standard but mined transactions #156

bucko13 opened this issue Jan 30, 2024 · 1 comment

Comments

@bucko13
Copy link

bucko13 commented Jan 30, 2024

Newer transactions that are putting additional data onto the stack after OP_RETURNs will break buidl parsing code and throw this error. E.g. a valid tx that has an output with the following script: OP_RETURN OP_PUSHBYTES_75 [SOME DATA] if being parsed by buidl will fail.

@derekpa
Copy link

derekpa commented Feb 13, 2024

Problem probably caused by this this

elements of length 75 are being ignored, the line needs to be updated to if length <= 75:

derekpa added a commit to derekpa/buidl-python that referenced this issue Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants