removed println

This commit is contained in:
Svyatoslav Nikolsky 2017-07-20 12:25:41 +03:00
parent 80b9e931f5
commit 9a9c4f6ad6

View File

@ -173,7 +173,6 @@ impl<A> Future for Handshake<A> where A: AsyncRead + AsyncWrite {
};
if !self.trusted_nodes.as_ref().map(|tn| tn.contains(&*message.node_id)).unwrap_or(true) {
println!("=== HANDSHAKE - INVALID NODE: self.trusted_nodes = {:?}, message.node_id = {:?}", self.trusted_nodes, message.node_id);
return Ok((stream, Err(Error::InvalidNodeId)).into());
}