Skip to content

Commit

Permalink
fix validator network outgoing peers status report (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejnems authored Dec 6, 2022
1 parent 1472685 commit c46b648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finality-aleph/src/validator_network/manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ impl<PK: PublicKey + PeerId> Display for ManagerStatus<PK> {
write!(
f,
"have - {:?} [{}]; ",
self.incoming_peers.len(),
self.outgoing_peers.len(),
pretty_peer_id_set(&self.outgoing_peers),
)?;
}
if !self.missing_outgoing.is_empty() {
write!(
f,
"missing - {:?} [{}]; ",
self.missing_incoming.len(),
self.missing_outgoing.len(),
pretty_peer_id_set(&self.missing_outgoing),
)?;
}
Expand Down

0 comments on commit c46b648

Please sign in to comment.