log raw incoming gossip data

This commit is contained in:
Jacek Sieka 2019-09-09 12:57:59 -05:00
parent e984ecb64f
commit 66f03f491f
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8

View File

@ -248,6 +248,8 @@ else:
result = proc(api: DaemonAPI,
ticket: PubsubTicket,
msg: PubSubMessage): Future[bool] {.async.} =
trace "Incoming gossip bytes",
peer = msg.peer, len = msg.data.len, tops = msg.topics
msgHandler SSZ.decode(msg.data, MsgType)
return true