Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
feat: pass options to base protocol constructor (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruinxs authored and vasco-santos committed Sep 3, 2019
1 parent 6b6a8bf commit daa97f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FloodSub extends BaseProtocol {
* @constructor
*/
constructor (libp2p, options = {}) {
super('libp2p:floodsub', multicodec, libp2p)
super('libp2p:floodsub', multicodec, libp2p, options)

/**
* List of our subscriptions
Expand Down

0 comments on commit daa97f8

Please sign in to comment.