From 3eb0cdd5f7d63f65da96541cb549b8ae798a2bb4 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Sat, 14 Sep 2019 07:56:02 -0600 Subject: [PATCH] misc --- libp2p/protocols/pubsub/floodsub.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/protocols/pubsub/floodsub.nim b/libp2p/protocols/pubsub/floodsub.nim index 1046a56..79acc98 100644 --- a/libp2p/protocols/pubsub/floodsub.nim +++ b/libp2p/protocols/pubsub/floodsub.nim @@ -81,7 +81,7 @@ proc rpcHandler(f: FloodSub, if f.topics.contains(t): # check that we're subscribed to it await f.topics[t].handler(t, msg.data) # trigger user provided handler - # forward the message to all peers interested it + # forward the message to all peers interested in it for p in toSendPeers: await f.peers[p].send(@[RPCMsg(messages: m.messages)])