From 6affb50c1a9cd194f45cd9a0433ab9a652e387c3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 27 Jun 2023 15:43:21 -0400 Subject: [PATCH] circmgr: Remove a "TODO HS" about path restrictions. I looked through the C tor source code and couldn't find any additional path restrictions. --- crates/tor-circmgr/src/hspool.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/tor-circmgr/src/hspool.rs b/crates/tor-circmgr/src/hspool.rs index 702d87128..f788bc99f 100644 --- a/crates/tor-circmgr/src/hspool.rs +++ b/crates/tor-circmgr/src/hspool.rs @@ -359,9 +359,6 @@ fn circuit_compatible_with_target( fn all_circ_relays_are_listed_in(circ: &ClientCirc, netdir: &NetDir) -> bool { let path = circ.path_ref(); - // TODO HS: Are there any other checks we should do before declaring that - // this is still usable? - // TODO HS: There is some duplicate logic here and in // circuit_compatible_with_target. I think that's acceptable for now, but // we should consider refactoring if these functions grow.