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

fuzz: txorphan check wtxids using GenTxid::Wtxid not GenTxid::Txid #28997

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

instagibbs
Copy link
Member

Fixes the bugs in the fuzz test with no more changes as an alternative to #28658

@instagibbs instagibbs marked this pull request as ready for review December 4, 2023 19:46
@DrahtBot
Copy link
Contributor

DrahtBot commented Dec 4, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK naumenkogs, dergoegge

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@naumenkogs
Copy link
Member

ACK 38816ff

Copy link
Member

@dergoegge dergoegge left a comment

Choose a reason for hiding this comment

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

ACK 38816ff

@fanquake fanquake merged commit b3ab0c3 into bitcoin:master Dec 5, 2023
16 checks passed
@maflcko
Copy link
Member

maflcko commented Dec 5, 2023

Fixes the bugs in the fuzz test with no more changes as an alternative to #28658

Can you explain the "bugs"? The wtxid is equal to the txid for transactions that have not witness data, and all transactions in this test have no witness data.

Seems fine to fix the style and make this refactor, but I don't see any bugs.

Also, if there was a bug, the test should be fixed to catch it, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants