From 755b760f940d15146d7ac87f74a478af182d24c6 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 23 Jul 2022 20:29:46 -0400 Subject: [PATCH] *Use log library --- src/dns.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dns.ts b/src/dns.ts index 382ddd2..945ccc2 100644 --- a/src/dns.ts +++ b/src/dns.ts @@ -44,8 +44,8 @@ export async function start() { pack(`${config.str("domain")}:${config.uint("port")}`) ); - console.log( - "node pubkey:", + log.info( + "Relay Identity is", Buffer.from(dht.defaultKeyPair.publicKey).toString("hex") );