specify protocols in waitForRemotePeer
This commit is contained in:
parent
c8cd9d45a9
commit
0346b94250
|
@ -111,7 +111,11 @@ class Client {
|
|||
},
|
||||
})
|
||||
await waku.start()
|
||||
await waitForRemotePeer(waku, [Protocols.Store], 10 * 1000)
|
||||
await waitForRemotePeer(
|
||||
waku,
|
||||
[Protocols.Store, Protocols.Filter, Protocols.LightPush],
|
||||
10 * 1000
|
||||
)
|
||||
const wakuDisconnectionTimer = setInterval(async () => {
|
||||
const connectionsToClose: Promise<void>[] = []
|
||||
|
||||
|
|
Loading…
Reference in New Issue