From ea0076a7a4b37c410f73ba1baad8511292013d36 Mon Sep 17 00:00:00 2001 From: Darius Date: Mon, 13 Nov 2023 12:10:44 -0500 Subject: [PATCH] chore: Update example --- extensions/warp-ipfs/examples/messenger.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }