Skip to content

Commit

Permalink
fix: cspell
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Nov 3, 2023
1 parent 9eb980d commit 89f2791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import type { PeerIdStr, TopicStr } from "@chainsafe/libp2p-gossipsub/types";
import { SignaturePolicy } from "@chainsafe/libp2p-gossipsub/types";
import type { PeerId } from "@libp2p/interface/peer-id";
import type { PubSub } from "@libp2p/interface/pubsub";
import type { PubSub as Libp2pPubsub } from "@libp2p/interface/pubsub";
import { sha256 } from "@noble/hashes/sha256";
import { DefaultPubSubTopic } from "@waku/core";
import {
Expand Down Expand Up @@ -276,7 +276,7 @@ class Relay implements IRelay {
this.gossipSub.subscribe(pubsubTopic);
}

private isRelayPubSub(pubsub: PubSub | undefined): boolean {
private isRelayPubSub(pubsub: Libp2pPubsub | undefined): boolean {
return pubsub?.multicodecs?.includes(Relay.multicodec) ?? false;
}
}
Expand Down

0 comments on commit 89f2791

Please sign in to comment.