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

Test: add invalid segwit transaction test #2364

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Test: add invalid segwit transaction test #2364

merged 1 commit into from
Jan 21, 2024

Conversation

startup-dreamer
Copy link
Contributor

@startup-dreamer startup-dreamer commented Jan 19, 2024

Tries to close #2183

Added the test for invalid segwit transaction (witness flag is set but no witness is present) using This suggested hex by Kixunil

Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fe8d559

bitcoin/src/blockdata/transaction.rs Show resolved Hide resolved
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fe8d559

@apoelstra apoelstra merged commit ff51619 into rust-bitcoin:master Jan 21, 2024
29 checks passed
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.

Witness presence check not tested
3 participants