refactor: remove dead code in `CountWitnessSigOps`
Found while reviewing #32840
The `nullptr` witness path was dead in normal code paths: removing it deletes unreachable logic.
Code coverage proof:
https://maflcko.github.io/b-c-cov/total.coverage/src/script/interpreter.cpp.gcov.html#L2135
24bcad3d4d
DrahtBot added the label
Consensus
on Nov 4, 2025
DrahtBot
commented at 9:53 pm on November 4, 2025:
contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#32317 (kernel: Separate UTXO set access from validation functions by TheCharlatan)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
darosior approved
darosior
commented at 11:26 pm on November 4, 2025:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2025-11-09 18:13 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me