mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-03 05:13:08 +00:00
rename
This commit is contained in:
parent
d4f45a9ca1
commit
23756c1885
@ -147,9 +147,9 @@
|
||||
[enrTree["TEST"]],
|
||||
{ lightPush: 1, filter: 1 }
|
||||
);
|
||||
const peer = await peersIterator.next();
|
||||
const ma = peer.value.multiaddrs.map((v) => v.toString())[1];
|
||||
const peerId = peer.value.peerId.toString();
|
||||
const peerEnr = await peersIterator.next();
|
||||
const ma = peerEnr.value.multiaddrs.map((v) => v.toString())[1];
|
||||
const peerId = peerEnr.value.peerId.toString();
|
||||
|
||||
multiaddrNode.value = `${ma}/p2p/${peerId}`;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user