Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix(pubsub): subscribe call to libp2p
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun committed Aug 9, 2019
1 parent 7640a29 commit 566b800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/pubsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function pubsub (self) {
return self.libp2p.pubsub.subscribe(topic, handler, options)
}

self.libp2p.pubsub.subscribe(topic, options, handler, callback)
self.libp2p.pubsub.subscribe(topic, handler, options, callback)
},

unsubscribe: (topic, handler, callback) => {
Expand Down

0 comments on commit 566b800

Please sign in to comment.