fix: resolverCid needs to be in string format

This commit is contained in:
Derrick Hammer 2023-09-11 13:33:57 -04:00
parent 8494313abd
commit a3cc5c1c71
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ await peerDefer.promise;
let resolverCid;
try {
resolverCid = CID.fromRegistryPublicKey(sre.pk);
resolverCid = CID.fromRegistryPublicKey(sre.pk).toString();
} catch (e) {
console.error("Failed to publish: ", e.message);
process.exit();