summaryrefslogtreecommitdiffstats
path: root/src/bootstrap.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-20 05:15:22 +0200
committertv <tv@krebsco.de>2026-10-20 05:15:22 +0200
commit220d24482a67f6e3edb2784343a4063860dbb7af (patch)
tree5516efaf28ba71d716b6f955f5ad9d7b08c8262a /src/bootstrap.rs
parente411c9e993f6936ad2787f53ac00fae9f0a6b0f9 (diff)
cleanup logging
Diffstat (limited to 'src/bootstrap.rs')
-rw-r--r--src/bootstrap.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap.rs b/src/bootstrap.rs
index 466e5eb..6b60845 100644
--- a/src/bootstrap.rs
+++ b/src/bootstrap.rs
@@ -4,7 +4,7 @@ use std::sync::atomic::Ordering;
use std::time::Duration;
use anyhow::{Result, bail};
-use tracing::{debug, error, info, instrument, warn};
+use tracing::{debug, error, info, warn};
use uuid::Uuid;
use crate::peer::{remember_peer, send_hello_once};
@@ -13,7 +13,6 @@ use crate::state::{AppState, PeerMembership};
const BOOTSTRAP_TIMEOUT: Duration = Duration::from_secs(300);
const BOOTSTRAP_RETRY: Duration = Duration::from_millis(500);
-#[instrument(skip(state, seeds))]
pub(crate) async fn bootstrap(state: &AppState, seeds: &[String]) -> Result<()> {
if seeds.is_empty() {
info!("Initializing genesis node (no seed peers configured)");