Skip to content
Snippets Groups Projects
Commit 3509b69c authored by Pierre Krieger's avatar Pierre Krieger Committed by Svyatoslav Nikolsky
Browse files

Remove warning about empty list of identify addresses (#1739)

parent 31188dc0
No related merge requests found
......@@ -241,10 +241,6 @@ impl<TSubstream> NetworkBehaviourEventProcess<IdentifyEvent> for Behaviour<TSubs
if !info.protocol_version.contains("substrate") {
warn!(target: "sub-libp2p", "Connected to a non-Substrate node: {:?}", info);
}
if info.listen_addrs.is_empty() {
warn!(target: "sub-libp2p", "Received identify response with empty list of \
addresses");
}
if info.listen_addrs.len() > 30 {
warn!(target: "sub-libp2p", "Node {:?} id reported more than 30 addresses",
peer_id);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment