Avoids a 'magic number' substr offset in get_socks_cb.
torcontrol: avoid magic number in get_socks_cb #35979
pull jpk68 wants to merge 1 commits into bitcoin:master from jpk68:torcontrol-magic-number changing 1 files +3 −2-
jpk68 commented at 11:36 PM on August 14, 2026: none
-
torcontrol: avoid magic number in get_socks_cb 73adcdb05c
-
DrahtBot commented at 11:36 PM on August 14, 2026: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35979.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline and AI policy for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
-
fanquake commented at 12:44 PM on August 18, 2026: member
Thanks, however I think we'll leave this as-is for now.
- fanquake closed this on Aug 18, 2026