From daa97f860f68c97c2d56dfc877ee39cefe710019 Mon Sep 17 00:00:00 2001 From: bruinxs Date: Tue, 3 Sep 2019 20:43:42 +0800 Subject: [PATCH] feat: pass options to base protocol constructor (#87) --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3ff99e9..80d8299 100644 --- a/src/index.js +++ b/src/index.js @@ -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