Skip to content

Commit

Permalink
Suppress warning adding already reserved node as reserved
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin committed Nov 29, 2024
1 parent 6416b28 commit 85f34a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/network/src/protocol_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ impl ProtocolController {
/// maintain connections with such peers.
fn on_add_reserved_peer(&mut self, peer_id: PeerId) {
if self.reserved_nodes.contains_key(&peer_id) {
warn!(
debug!(
target: LOG_TARGET,
"Trying to add an already reserved node {peer_id} as reserved on {:?}.",
self.set_id,
Expand Down

0 comments on commit 85f34a1

Please sign in to comment.