Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Jul 15, 2022
1 parent c2a04b3 commit c72baf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl<R: bls::rand::RngCore + Clone> DkgState<R> {
VoteResponse::AntiEntropy(self.all_votes.clone())
}

/// Handle a DKG vote, save the information if we learned any, broadcast when:
/// Handle a DKG vote, save the information if we learned any, broadcast:
/// - SingleAck when got all parts
/// - AllAcks when got all acks
/// Consider we reached completion when we received everyone's signatures over the AllAcks
Expand Down
2 changes: 1 addition & 1 deletion src/vote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub(crate) type IdPart = (NodeId, Part);
pub(crate) type IdAck = (NodeId, Ack);

// The order of entries in this enum is IMPORTANT
// Its the order in which they should be handled
// It's the order in which they should be handled
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Hash, Serialize, Deserialize)]
pub enum DkgVote {
/// Participant's own Part
Expand Down

0 comments on commit c72baf1

Please sign in to comment.