diff --git a/crates/tor-hsservice/src/ipt_mgr.rs b/crates/tor-hsservice/src/ipt_mgr.rs index 211fc07ac..7955f3e03 100644 --- a/crates/tor-hsservice/src/ipt_mgr.rs +++ b/crates/tor-hsservice/src/ipt_mgr.rs @@ -31,7 +31,7 @@ use tor_rtcompat::Runtime; use crate::svc::ipt_establish; use crate::timeout_track::{TrackingInstantOffsetNow, TrackingNow}; -use crate::{FatalError, OnionServiceConfig, RendRequest, StartupError}; +use crate::{FatalError, HsNickname, OnionServiceConfig, RendRequest, StartupError}; use ipt_establish::{IptEstablisher, IptParameters, IptStatus, IptStatusStatus, IptWantsToRetire}; use IptStatusStatus as ISS; @@ -45,9 +45,6 @@ const IPT_RELAY_ROTATION_TIME: RangeInclusive = { Duration::from_secs(DAY * 4)..=Duration::from_secs(DAY * 7) }; -/// TODO HSS make HsNickname a newtype, somewhere more central, and document it properly -type HsNickname = String; - /// Persistent local identifier for an introduction point /// /// Changes when the IPT relay changes, or the IPT key material changes.