Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jking-aus committed Oct 2, 2024
1 parent 4561c2c commit b833c17
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions anchor/qbft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ pub enum InMessage<D: Debug + Default + Clone + Eq + Hash> {
Prepare(PrepareMessage<D>),
/// A commit message to be sent on the network.
Commit(CommitMessage<D>),
/// A validation request from the application to check if the message should be commited.
Validate(ValidationMessage<D>),
/// Round change message received from network
RoundChange(RoundChange<D>),
}
Expand All @@ -77,8 +75,6 @@ pub enum OutMessage<D: Debug + Default + Clone + Eq + Hash> {
Prepare(PrepareMessage<D>),
/// A commit message to be sent on the network.
Commit(CommitMessage<D>),
/// A validation request from the application to check if the message should be commited.
Validate(ValidationMessage<D>),
/// The round has ended, send this message to the network to inform all participants.
RoundChange(RoundChange<D>),
/// The consensus instance has completed.
Expand Down Expand Up @@ -229,8 +225,8 @@ where
// received_roundChange function
Some(InMessage::RoundChange(round_change_message)) => self.received_round_change(round_change_message),

// None => { }// Channel is closed
_ => {}
None => { }// Channel is closed
//_ => {}
// TODO: FILL THESE IN
}
}
Expand Down

0 comments on commit b833c17

Please sign in to comment.