diff --git a/comms/src/connection_manager/listener.rs b/comms/src/connection_manager/listener.rs index 08bbe808b6..260a359fe4 100644 --- a/comms/src/connection_manager/listener.rs +++ b/comms/src/connection_manager/listener.rs @@ -317,13 +317,11 @@ where } }, Err(err) => { - let public_key = Self::remote_public_key_from_socket(socket, noise_config).await; warn!( target: LOG_TARGET, - "Peer at address '{}' ({}) failed to send its wire format . Expected network byte {:x?} or \ - liveness byte {:x?} not received. Error: {}", + "Peer at address '{}' failed to send its wire format. Expected network byte {:x?} or liveness \ + byte {:x?} not received. Error: {}", peer_addr, - public_key, config.network_info.network_byte, LIVENESS_WIRE_MODE, err