Merge pull request #1082 from waku-org/feat/remove-default-wait-to-peer-exchange

This commit is contained in:
fryorcraken.eth 2022-12-20 23:37:54 +11:00 committed by GitHub
commit 17cdbc800e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,9 +155,6 @@ function getEnabledProtocols(waku: Waku): Protocols[] {
if (waku.lightPush) { if (waku.lightPush) {
protocols.push(Protocols.LightPush); protocols.push(Protocols.LightPush);
} }
if (waku.peerExchange) {
protocols.push(Protocols.PeerExchange);
}
return protocols; return protocols;
} }