upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/common/relay.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/relay.rs')
-rw-r--r--tests/common/relay.rs8
1 files changed, 2 insertions, 6 deletions
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 {
57 /// source.stop().await; 57 /// source.stop().await;
58 /// } 58 /// }
59 /// ``` 59 /// ```
60 pub async fn start_with_sync(bootstrap_relay_url: &str) -> Self { 60 pub async fn start_with_sync(bootstrap_relay_url: Option<String>) -> Self {
61 Self::start_with_options( 61 Self::start_with_options(Self::find_free_port(), bootstrap_relay_url).await
62 Self::find_free_port(),
63 Some(bootstrap_relay_url.to_string()),
64 )
65 .await
66 } 62 }
67 63
68 /// Start relay with options 64 /// Start relay with options