mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-05 23:33:08 +00:00
Add filter to dial
This commit is contained in:
parent
8aa966c2f6
commit
e3015abce9
@ -265,6 +265,9 @@ export class Waku {
|
||||
if (_protocols.includes(Protocols.LightPush)) {
|
||||
codecs.push(LightPushCodec);
|
||||
}
|
||||
if (_protocols.includes(Protocols.Filter)) {
|
||||
codecs.push(FilterCodec);
|
||||
}
|
||||
|
||||
return this.libp2p.dialProtocol(peer, codecs);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user