213 | @@ -203,6 +214,10 @@ class TxRequestTracker {
214 | * result_peers. Does not try to ensure that result_peers contains no duplicates. */
215 | void GetCandidatePeers(const uint256& txhash, std::vector<NodeId>& result_peers) const;
216 |
217 | + /** Like GetCandidatePeers(txhash, result_peers), but only for announcements whose type (txid or wtxid)
218 | + * matches that of gtxid. */
219 | + void GetCandidatePeers(const GenTxid& gtxid, std::vector<NodeId>& result_peers) const;
nit: Maybe we don't really need this? It's only called from tests, and it seems that existing checks already covers the behavior pretty well, so not sure if its adds enough additional coverage.