1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-04-03 00:01:04 +00:00

fix: use correct reference to floodSub

This commit is contained in:
David Dias 2018-02-15 19:39:35 +01:00
parent 1ebf725ac4
commit 947eaf166b

@ -26,7 +26,7 @@ module.exports = (node) => {
floodSub.subscribe(topic) floodSub.subscribe(topic)
} }
floodSub.pubsub.on(topic, handler) floodSub.on(topic, handler)
setImmediate(cb) setImmediate(cb)
} }