From 888d63a8d8958ba59fef215d7e3876eb07fa21c1 Mon Sep 17 00:00:00 2001 From: Sam Andreae Date: Fri, 21 Jun 2024 21:33:25 +0100 Subject: [PATCH] Clippy --- aquadoggo/src/network/service.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aquadoggo/src/network/service.rs b/aquadoggo/src/network/service.rs index 0a1aba476..88b89f6be 100644 --- a/aquadoggo/src/network/service.rs +++ b/aquadoggo/src/network/service.rs @@ -51,8 +51,7 @@ pub async fn network_service( // The swarm can be initiated with or without "relay" capabilities. let mut swarm = if network_config.relay_mode { info!("Networking service initializing with relay capabilities..."); - let swarm = swarm::build_relay_swarm(&network_config, key_pair).await?; - swarm + swarm::build_relay_swarm(&network_config, key_pair).await? } else { info!("Networking service initializing..."); swarm::build_client_swarm(&network_config, key_pair).await?