Skip to content

Commit

Permalink
extra logs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <[email protected]>
  • Loading branch information
lexnv committed Oct 12, 2024
1 parent 3e7d07e commit 1a701c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,8 @@ impl Stream for Peerset {
}

if let Poll::Ready(Some(action)) = Pin::new(&mut self.cmd_rx).poll_next(cx) {
log::trace!(target: LOG_TARGET, "{}: Incoming action={action:?}", self.protocol);

match action {
PeersetCommand::DisconnectPeer { peer } if !self.reserved_peers.contains(&peer) =>
match self.peers.remove(&peer) {
Expand Down

0 comments on commit 1a701c9

Please sign in to comment.