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;
|
let resolverCid;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
resolverCid = CID.fromRegistryPublicKey(sre.pk);
|
resolverCid = CID.fromRegistryPublicKey(sre.pk).toString();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Failed to publish: ", e.message);
|
console.error("Failed to publish: ", e.message);
|
||||||
process.exit();
|
process.exit();
|
||||||
|
|
Loading…
Reference in New Issue