mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-01-24 07:29:23 +00:00
specify protocols in waitForRemotePeer
This commit is contained in:
parent
a2550b61d7
commit
d35c311096
@ -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