diff --git a/extensions/warp-ipfs/examples/messenger.rs b/extensions/warp-ipfs/examples/messenger.rs index 2678a35d9..f4a20d4fc 100644 --- a/extensions/warp-ipfs/examples/messenger.rs +++ b/extensions/warp-ipfs/examples/messenger.rs @@ -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)] @@ -113,6 +113,7 @@ async fn setup>( } if opt.no_discovery { config.store_setting.discovery = Discovery::None; + config.bootstrap = Bootstrap::None; config.ipfs_setting.bootstrap = false; }