Skip to content

Fix: Interpret P2SH redeemscript === OP_FALSE as empty Buffer. #1802

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

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

junderw
Copy link
Member

@junderw junderw commented May 15, 2022

Fixes #1801

Note: the parsing for the specific example in the issue will still throw with Redeem.output too short but this can be skipped by using validate: false option.

@junderw
Copy link
Member Author

junderw commented Jul 26, 2022

This is a simple bug fix. Merging.

@junderw junderw merged commit a189ee0 into master Jul 26, 2022
@junderw junderw deleted the fix/p2sh-empty branch July 16, 2024 10:49
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

Successfully merging this pull request may close these issues.

Valid transaction data can't parsed by payments.p2sh
1 participant