mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-28 16:48:13 -05:00
chore: remove redundant handshake traces (#1694)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)))?
|
||||
|
||||
Reference in New Issue
Block a user