From 232669e7760a975017748f14d52b8f9a5cb13689 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 2 Sep 2023 08:43:53 -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 f1fc1a3..9ec4f2d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -205,7 +205,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();