Skip to content

Commit

Permalink
chore: Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Nov 13, 2023
1 parent f6c8010 commit ea0076a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/warp-ipfs/examples/messenger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use warp::raygun::{
};
use warp::sync::{Arc, RwLock};
use warp::tesseract::Tesseract;
use warp_ipfs::config::{Discovery, DiscoveryType};
use warp_ipfs::config::{Bootstrap, Discovery, DiscoveryType};
use warp_ipfs::WarpIpfsBuilder;

#[derive(Debug, Parser)]
Expand Down Expand Up @@ -113,6 +113,7 @@ async fn setup<P: AsRef<Path>>(
}
if opt.no_discovery {
config.store_setting.discovery = Discovery::None;
config.bootstrap = Bootstrap::None;
config.ipfs_setting.bootstrap = false;
}

Expand Down

0 comments on commit ea0076a

Please sign in to comment.