mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
24bcad3d4drefactor: remove dead code in `CountWitnessSigOps` (Lőrinc) Pull request description: Found while reviewing #32840 The `nullptr` witness path was dead in normal code paths: replacing it with reference enables us deleting unreachable logic. Code coverage proof: https://maflcko.github.io/b-c-cov/total.coverage/src/script/interpreter.cpp.gcov.html#L2135 ACKs for top commit: kevkevinpal: ACK [24bcad3](24bcad3d4d) maflcko: review ACK24bcad3d4d🐏 darosior: Neat. utACK24bcad3d4d. stickies-v: ACK24bcad3d4dTree-SHA512: 92c87e431f06a15d8eeb02e20e9154b272c4586ddacf77c8d83783091485fb82c24ecbd711db7043a92cf6169746db24ad46a5904d694aea9d3c3aa96da725f0