From 578d965550e3c381c9a92a2a61fee5b498353ee8 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 2 Sep 2023 23:12:42 -0400 Subject: [PATCH] fix: need to slice out the key type byte --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1948d39..7248a00 100644 --- a/src/index.ts +++ b/src/index.ts @@ -215,7 +215,7 @@ await peerDefer.promise; util.format( "%s: %s", chalk.green("Resolver entry"), - encodeCid(sre.pk, 0, CID_TYPES.RESOLVER, CID_HASH_TYPES.ED25519), + encodeCid(sre.pk.slice(1), 0, CID_TYPES.RESOLVER, CID_HASH_TYPES.ED25519), ), ); await node.stop();