mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-27 23:07:54 +00:00
log raw incoming gossip data
This commit is contained in:
parent
e984ecb64f
commit
66f03f491f
@ -248,6 +248,8 @@ else:
|
|||||||
result = proc(api: DaemonAPI,
|
result = proc(api: DaemonAPI,
|
||||||
ticket: PubsubTicket,
|
ticket: PubsubTicket,
|
||||||
msg: PubSubMessage): Future[bool] {.async.} =
|
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)
|
msgHandler SSZ.decode(msg.data, MsgType)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user