mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-17 08:00:51 +00:00
fix: use correct reference to floodSub
This commit is contained in:
parent
1ebf725ac4
commit
947eaf166b
@ -26,7 +26,7 @@ module.exports = (node) => {
|
||||
floodSub.subscribe(topic)
|
||||
}
|
||||
|
||||
floodSub.pubsub.on(topic, handler)
|
||||
floodSub.on(topic, handler)
|
||||
setImmediate(cb)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user