chore: remove redundant handshake traces (#1694)

This commit is contained in:
Dan Cline
2023-03-09 22:09:34 -05:00
committed by GitHub
parent 6190eac9ce
commit dd1a0b495f
2 changed files with 0 additions and 3 deletions

View File

@ -66,7 +66,6 @@ where
let our_status_bytes = our_status_bytes.freeze();
self.inner.send(our_status_bytes).await?;
tracing::trace!("waiting for eth status from peer");
let their_msg_res = self.inner.next().await;
let their_msg = match their_msg_res {

View File

@ -90,8 +90,6 @@ where
P2PMessage::Hello(hello.clone()).encode(&mut raw_hello_bytes);
self.inner.send(raw_hello_bytes.into()).await?;
tracing::trace!("waiting for p2p hello from peer");
let first_message_bytes = tokio::time::timeout(HANDSHAKE_TIMEOUT, self.inner.next())
.await
.or(Err(P2PStreamError::HandshakeError(P2PHandshakeError::Timeout)))?