Skip to content

Commit

Permalink
Merge pull request #111 from paritytech/andre/log-incoming-message-round
Browse files Browse the repository at this point in the history
Log incoming message round number
  • Loading branch information
andresilva authored Mar 13, 2020
2 parents ea1eff3 + 6d56411 commit 4c71f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voter/voting_round.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl<H, N, E: Environment<H, N>> VotingRound<H, N, E> where

fn process_incoming(&mut self, cx: &mut Context) -> Result<(), E::Error> {
while let Poll::Ready(Some(incoming)) = Stream::poll_next(Pin::new(&mut self.incoming), cx) {
trace!(target: "afg", "Got incoming message");
trace!(target: "afg", "Round {}: Got incoming message", self.round_number());
self.handle_vote(incoming?)?;
}

Expand Down

0 comments on commit 4c71f4b

Please sign in to comment.