mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-05 10:21:07 +00:00
Remove warning about empty list of identify addresses (#1739)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user