This commit is contained in:
Dmitriy Ryajov 2019-09-14 07:56:02 -06:00
parent 9bb892de69
commit 3eb0cdd5f7
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ proc rpcHandler(f: FloodSub,
if f.topics.contains(t): # check that we're subscribed to it if f.topics.contains(t): # check that we're subscribed to it
await f.topics[t].handler(t, msg.data) # trigger user provided handler 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: for p in toSendPeers:
await f.peers[p].send(@[RPCMsg(messages: m.messages)]) await f.peers[p].send(@[RPCMsg(messages: m.messages)])