summaryrefslogtreecommitdiffstats
path: root/src/bootstrap.rs
diff options
context:
space:
mode:
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 df47ff6..470ca67 100644
--- a/src/bootstrap.rs
+++ b/src/bootstrap.rs
@@ -4,7 +4,7 @@ use std::sync::atomic::Ordering;
use std::time::Duration;
use anyhow::{bail, Result};
-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)");