fix: need to slice out the key type byte
This commit is contained in:
parent
ca5c983cbb
commit
578d965550
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue