Skip to content

Commit

Permalink
Remove log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
pool2win committed Nov 21, 2024
1 parent 11b4bce commit 3e589e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/node/protocol/dkg/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use crate::node::protocol::{dkg, Protocol};
#[mockall_double::double]
use crate::node::reliable_sender::ReliableSenderHandle;
use crate::node::State;
use log::info;
use tokio::time::{Duration, Instant};
use tower::ServiceExt;

Expand All @@ -39,7 +38,6 @@ pub async fn run_dkg_trigger(
let start = Instant::now() + period;
let mut interval = tokio::time::interval_at(start, period);
interval.tick().await;
info!("DKG trigger: checking if DKG needs to be started");

trigger_dkg_round_one(
node_id.clone(),
Expand All @@ -65,13 +63,13 @@ pub(crate) async fn trigger_dkg_round_one(
node_id.clone(),
);

log::info!("Sending DKG echo broadcast");
log::debug!("Sending DKG echo broadcast");

let _ = echo_broadcast_service
.oneshot(dkg::round_one::PackageMessage::new(node_id, None).into())
.await;

log::info!("DKG Echo broadcast finished");
log::debug!("DKG Echo broadcast finished");
}

#[cfg(test)]
Expand Down

0 comments on commit 3e589e5

Please sign in to comment.