mirror of https://github.com/vacp2p/nim-libp2p.git
misc
This commit is contained in:
parent
9bb892de69
commit
3eb0cdd5f7
|
@ -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)])
|
||||
|
||||
|
|
Loading…
Reference in New Issue