mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-01-11 09:16:15 +00:00
json logging again
This commit is contained in:
parent
6620b7a00b
commit
76853f064a
@ -510,7 +510,7 @@ method publish*(g: GossipSub,
|
||||
msg = Message.init(g.peerInfo, data, topic, g.sign)
|
||||
msgId = g.msgIdProvider(msg)
|
||||
|
||||
trace "publishing on topic", name = topic, peers = peers, msg
|
||||
trace "publishing on topic", name = topic, peers = peers, msg = msg.shortLog()
|
||||
if msgId notin g.mcache:
|
||||
g.mcache.put(msgId, msg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user