Skip to content

Commit eb751bc

Browse files
[ETCM-355] Log received messages in PeerActor
1 parent 0605e8e commit eb751bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scala/io/iohk/ethereum/network/PeerActor.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ class PeerActor[R <: HandshakeResult](
144144
case RLPxConnectionHandler.MessageReceived(msg) =>
145145
// Processes the received message, cancels the timeout and processes a new message but only if the handshaker
146146
// handles the received message
147+
log.debug("Message received: {} from peer {}", msg, peerAddress)
147148
handshaker.applyMessage(msg).foreach { newHandshaker =>
148149
timeout.cancel()
149150
processHandshakerNextMessage(newHandshaker, remoteNodeId, rlpxConnection, numRetries)

0 commit comments

Comments
 (0)