From 87e58c1c8de467cb60ea01f98d2ec4a6ca22d261 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 13 Jul 2020 16:16:46 +0200 Subject: [PATCH] metrics: one more pubsub peers fix --- libp2p/protocols/pubsub/pubsub.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/protocols/pubsub/pubsub.nim b/libp2p/protocols/pubsub/pubsub.nim index cab34a209..d9679fa85 100644 --- a/libp2p/protocols/pubsub/pubsub.nim +++ b/libp2p/protocols/pubsub/pubsub.nim @@ -79,8 +79,8 @@ method handleDisconnect*(p: PubSub, peer: PubSubPeer) {.base.} = p.peers.del(peer.id) trace "peer disconnected", peer = peer.id - # metrics - libp2p_pubsub_peers.set(p.peers.len.int64) + # metrics + libp2p_pubsub_peers.set(p.peers.len.int64) proc sendSubs*(p: PubSub, peer: PubSubPeer,