fix: need to slice out the key type byte

This commit is contained in:
Derrick Hammer 2023-09-02 23:12:42 -04:00
parent ca5c983cbb
commit 578d965550
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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();