From dbab0cc582634b26de93d20070cda3718675b417 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 22 Jun 2021 10:06:05 +1000 Subject: [PATCH] Unnecessary and create conflicts due to disparity of version Between libp2p-interfaces from libp2p and libp2p-gossipsub. --- src/lib/waku_relay/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/waku_relay/index.ts b/src/lib/waku_relay/index.ts index f466ec6e72..cdb3f6801f 100644 --- a/src/lib/waku_relay/index.ts +++ b/src/lib/waku_relay/index.ts @@ -12,7 +12,7 @@ import { messageIdToString, shuffle, } from 'libp2p-gossipsub/src/utils'; -import Pubsub, { InMessage } from 'libp2p-interfaces/src/pubsub'; +import { InMessage } from 'libp2p-interfaces/src/pubsub'; import { SignaturePolicy } from 'libp2p-interfaces/src/pubsub/signature-policy'; import PeerId from 'peer-id'; @@ -57,7 +57,7 @@ export interface GossipOptions { * @implements {Pubsub} * @noInheritDoc */ -export class WakuRelay extends Gossipsub implements Pubsub { +export class WakuRelay extends Gossipsub { heartbeat: RelayHeartbeat; pubsubTopic: string; /**