mirror of
https://github.com/fluencelabs/dashboard
synced 2025-04-26 16:22:15 +00:00
add peerId to console
This commit is contained in:
parent
73efbea75c
commit
a6d31fa638
@ -70,6 +70,7 @@ function event(
|
|||||||
log.setLevel('silent')
|
log.setLevel('silent')
|
||||||
const pid = await generatePeerId();
|
const pid = await generatePeerId();
|
||||||
const flags = genFlags(pid.toB58String());
|
const flags = genFlags(pid.toB58String());
|
||||||
|
console.log("connect with client: " + pid.toB58String())
|
||||||
|
|
||||||
// If the relay is ever changed, an event shall be sent to elm
|
// If the relay is ever changed, an event shall be sent to elm
|
||||||
const client = await createClient(relays[relayIdx].multiaddr, pid);
|
const client = await createClient(relays[relayIdx].multiaddr, pid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user