fix: resolverCid needs to be in string format
This commit is contained in:
parent
8494313abd
commit
a3cc5c1c71
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue