Browse Source

nice output for msgBytes

Closes #1227
pull/1590/head
Anton Kaliaev 7 years ago
parent
commit
5a041baa36
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      p2p/conn/connection.go

+ 1
- 1
p2p/conn/connection.go View File

@ -523,7 +523,7 @@ FOR_LOOP:
break FOR_LOOP
}
if msgBytes != nil {
c.Logger.Debug("Received bytes", "chID", pkt.ChannelID, "msgBytes", msgBytes)
c.Logger.Debug("Received bytes", "chID", pkt.ChannelID, "msgBytes", fmt.Sprintf("%X", msgBytes))
// NOTE: This means the reactor.Receive runs in the same thread as the p2p recv routine
c.onReceive(pkt.ChannelID, msgBytes)
}


Loading…
Cancel
Save