fix: need to slice out the key type byte
This commit is contained in:
parent
3b70ba00af
commit
7d0d1b9b2b
|
@ -202,7 +202,7 @@ await peerDefer.promise;
|
||||||
util.format(
|
util.format(
|
||||||
"%s: %s",
|
"%s: %s",
|
||||||
chalk.green("Resolver entry"),
|
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();
|
await node.stop();
|
||||||
|
|
Loading…
Reference in New Issue