Skip to content

Commit

Permalink
remove redundant trace message
Browse files Browse the repository at this point in the history
```
sync: Too many full nodes, rejecting 12D3KooWSQAP2fh4qBkLXBW4mvCtbAiK8sqMnExWHHTZtVAxZ8bQ
sync: 12D3KooWSQAP2fh4qBkLXBW4mvCtbAiK8sqMnExWHHTZtVAxZ8bQ disconnected
```

is enough to understand that we've refused to connect to the given peer
  • Loading branch information
melekes committed Feb 13, 2023
1 parent c8d8d29 commit a87e65f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/network/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,11 +1147,6 @@ where
if self.on_sync_peer_disconnected(peer_id).is_ok() {
CustomMessageOutcome::SyncDisconnected(peer_id)
} else {
log::trace!(
target: "sync",
"Disconnected peer which had earlier been refused by on_sync_peer_connected {}",
peer_id
);
CustomMessageOutcome::None
}
} else if self.bad_handshake_substreams.remove(&(peer_id, set_id)) {
Expand Down

0 comments on commit a87e65f

Please sign in to comment.