set peers

This commit is contained in:
Felicio Mununga 2022-08-01 10:36:00 +02:00
parent 1f567e189a
commit 9c0f130a93
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ class Client {
const waku = await Waku.create({
bootstrap: {
default: false,
peers,
peers: [
'/dns4/node-01.gc-us-central1-a.go-waku.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAmPz63Xc6AuVkDeujz7YeZta18rcdau3Y1BzaxKAfDrBqz',
],
},
relayKeepAlive: 15,
libp2p: { config: { pubsub: { enabled: true, emitSelf: true } } },