diff --git a/crates/nostr-sdk/examples/aggregated-query.rs b/crates/nostr-sdk/examples/aggregated-query.rs index 493a80002..3deb0f0db 100644 --- a/crates/nostr-sdk/examples/aggregated-query.rs +++ b/crates/nostr-sdk/examples/aggregated-query.rs @@ -54,7 +54,7 @@ async fn main() -> Result<()> { .fetch_events_from( ["wss://nostr.oxtr.dev"], vec![filter], - Some(Duration::from_secs(10)), + Some(Duration::from_secs(10)).unwrap(), ) .await?; client.force_remove_relay("wss://nostr.oxtr.dev").await?;