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

View File

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