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

This commit is contained in:
Pierre Krieger authored and Svyatoslav Nikolsky committed 2019-02-08 15:39:15 +03:00
1 parent 31188dc013
commit 3509b69c4c
1 file changed
-4
@@ -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);