fix: need to slice out the key type byte

This commit is contained in:
Derrick Hammer 2023-09-02 23:04:52 -04:00
parent 3b70ba00af
commit 7d0d1b9b2b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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