Skip to content

Commit daa97f8

Browse files
bruinxsvasco-santos
authored andcommitted
feat: pass options to base protocol constructor (#87)
1 parent 6b6a8bf commit daa97f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FloodSub extends BaseProtocol {
2727
* @constructor
2828
*/
2929
constructor (libp2p, options = {}) {
30-
super('libp2p:floodsub', multicodec, libp2p)
30+
super('libp2p:floodsub', multicodec, libp2p, options)
3131

3232
/**
3333
* List of our subscriptions

0 commit comments

Comments
 (0)