Skip to content

Commit

Permalink
fix: set first=false for client node builder
Browse files Browse the repository at this point in the history
  • Loading branch information
b-zee committed Jan 15, 2025
1 parent b4c26e6 commit 3378ad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autonomi/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl Client {
}

fn build_client_and_run_swarm(local: bool) -> (Network, mpsc::Receiver<NetworkEvent>) {
let mut network_builder = NetworkBuilder::new(Keypair::generate_ed25519(), local);
let mut network_builder = NetworkBuilder::new(Keypair::generate_ed25519(), local, false);

if let Ok(mut config) = BootstrapCacheConfig::default_config(local) {
if local {
Expand Down

0 comments on commit 3378ad0

Please sign in to comment.