Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Jun 21, 2024
1 parent eb570d6 commit 888d63a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aquadoggo/src/network/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 888d63a

Please sign in to comment.