one more log fix

This commit is contained in:
Jacek Sieka 2020-07-13 20:19:20 +02:00
parent 76853f064a
commit c6c2d99907
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
1 changed files with 2 additions and 1 deletions

View File

@ -510,7 +510,8 @@ method publish*(g: GossipSub,
msg = Message.init(g.peerInfo, data, topic, g.sign) msg = Message.init(g.peerInfo, data, topic, g.sign)
msgId = g.msgIdProvider(msg) msgId = g.msgIdProvider(msg)
trace "publishing on topic", name = topic, peers = peers, msg = msg.shortLog() trace "publishing on topic",
topic, peers = peers.len, msg = msg.shortLog()
if msgId notin g.mcache: if msgId notin g.mcache:
g.mcache.put(msgId, msg) g.mcache.put(msgId, msg)