From efe3e43cf792abd8bb256121ebf84ae04836313a Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 8 Dec 2025 12:50:34 +0000 Subject: tests: discover and sync from relay in annocunement published directly --- tests/common/relay.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/common') diff --git a/tests/common/relay.rs b/tests/common/relay.rs index 3d160f2..073a601 100644 --- a/tests/common/relay.rs +++ b/tests/common/relay.rs @@ -57,12 +57,8 @@ impl TestRelay { /// source.stop().await; /// } /// ``` - pub async fn start_with_sync(bootstrap_relay_url: &str) -> Self { - Self::start_with_options( - Self::find_free_port(), - Some(bootstrap_relay_url.to_string()), - ) - .await + pub async fn start_with_sync(bootstrap_relay_url: Option) -> Self { + Self::start_with_options(Self::find_free_port(), bootstrap_relay_url).await } /// Start relay with options -- cgit v1.2.3