add peerId to console

This commit is contained in:
DieMyst 2021-02-04 19:00:53 +03:00
parent 73efbea75c
commit a6d31fa638

View File

@ -70,6 +70,7 @@ function event(
log.setLevel('silent')
const pid = await generatePeerId();
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
const client = await createClient(relays[relayIdx].multiaddr, pid);