mirror of
https://github.com/status-im/status-web.git
synced 2025-01-21 09:59:03 +00:00
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…
x
Reference in New Issue
Block a user