Review report

core: PR #36371

🟡 Minor

Match the announced hash to the inventory type (src/test/fuzz/p2p_1p1c_liveness.cpp:333, head)

This branch starts with the transaction's wtxid, including when it creates a witness-mutated copy, then independently selects MSG_TX or MSG_WTX on line 335. As a result, the MSG_TX case usually announces a wtxid rather than the transaction's txid, so it does not exercise txid announcement handling for the cast transaction. Select the inventory type first, then announce GetHash() for MSG_TX or GetWitnessHash() for MSG_WTX on the selected transaction. Keep the unrelated-hash case separate.

Review coverage was incomplete. The adversarial review had incomplete evidence.