From c65a212e567e6a9695b9525db70cd09256342293 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 2 Sep 2023 08:42:46 -0400 Subject: [PATCH] fix: need to use the sre.pk not cidBytes --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1195450..3a02503 100644 --- a/src/index.ts +++ b/src/index.ts @@ -189,7 +189,7 @@ await peerDefer.promise; util.format( "%s: %s", chalk.green("Resolver entry"), - encodeCid(cidBytes, 0, CID_TYPES.RESOLVER, CID_HASH_TYPES.ED25519), + encodeCid(sre.pk, 0, CID_TYPES.RESOLVER, CID_HASH_TYPES.ED25519), ), ); await node.stop();