Skip to content

Commit

Permalink
updates for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aschran committed Jul 9, 2024
1 parent 56a1c72 commit 13f5d07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/sui-network/src/randomness/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ impl RandomnessEventLoop {
}
}

// TODO: ignore future messages from peers sending bad signatures.
if let Err(e) =
ThresholdBls12381MinSig::verify(vss_pk.c0(), &round.signature_message(), &sig)
{
Expand Down Expand Up @@ -720,7 +721,7 @@ impl RandomnessEventLoop {

debug!("sending partial sigs for epoch {epoch}, round {round}");
(
spawn_monitored_task!(RandomnessEventLoop::send_partial_signatures_task(
spawn_monitored_task!(RandomnessEventLoop::send_signatures_task(
name,
network,
retry_interval,
Expand Down Expand Up @@ -764,7 +765,7 @@ impl RandomnessEventLoop {
}
}

async fn send_partial_signatures_task(
async fn send_signatures_task(
name: AuthorityName,
network: anemo::Network,
retry_interval: Duration,
Expand Down

0 comments on commit 13f5d07

Please sign in to comment.