Skip to content

Commit

Permalink
fix: use correct reference to floodSub
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Feb 16, 2018
1 parent 1ebf725 commit 947eaf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = (node) => {
floodSub.subscribe(topic)
}

floodSub.pubsub.on(topic, handler)
floodSub.on(topic, handler)
setImmediate(cb)
}

Expand Down

0 comments on commit 947eaf1

Please sign in to comment.