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

Commit 566b800

Browse files
committed
fix(pubsub): subscribe call to libp2p
1 parent 7640a29 commit 566b800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/components/pubsub.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = function pubsub (self) {
2626
return self.libp2p.pubsub.subscribe(topic, handler, options)
2727
}
2828

29-
self.libp2p.pubsub.subscribe(topic, options, handler, callback)
29+
self.libp2p.pubsub.subscribe(topic, handler, options, callback)
3030
},
3131

3232
unsubscribe: (topic, handler, callback) => {

0 commit comments

Comments
 (0)