diff --git a/src/cid.ts b/src/cid.ts index 3b8c043..e8e05f2 100644 --- a/src/cid.ts +++ b/src/cid.ts @@ -135,7 +135,7 @@ export function decodeRegistryCid(cid: string | Uint8Array): ErrTuple { return [null, "not a valid registry cid"]; } - return [cid, null]; + return [ret, null]; } export type { CID } from "@lumeweb/libportal";