nice output for msgBytes

Closes #1227
This commit is contained in:
Anton Kaliaev 2018-05-18 12:45:09 +04:00
parent 0908e668bd
commit 5a041baa36
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ FOR_LOOP:
break FOR_LOOP break FOR_LOOP
} }
if msgBytes != nil { 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 // NOTE: This means the reactor.Receive runs in the same thread as the p2p recv routine
c.onReceive(pkt.ChannelID, msgBytes) c.onReceive(pkt.ChannelID, msgBytes)
} }