Connect to 2 test fleet nodes

This commit is contained in:
Franck Royer 2021-05-07 10:38:08 +10:00
parent 775a288a5c
commit a6d815974e
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 6 additions and 0 deletions

View File

@ -163,6 +163,12 @@ async function initWaku(setter: (waku: Waku) => void) {
),
[multiaddr('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7010/wss')]
);
waku.libp2p.peerStore.addressBook.add(
PeerId.createFromB58String(
'16Uiu2HAmSyrYVycqBCWcHyNVQS6zYQcdQbwyov1CDijboVRsQS37'
),
[multiaddr('/dns4/node-01.do-ams3.jdev.misc.statusim.net/tcp/7009/wss')]
);
} catch (e) {
console.log('Issue starting waku ', e);
}