From eb3f2ee5c9da7b3b46a5d3d61c5dfed8ecfc167c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 12 Dec 2023 14:53:34 -0500 Subject: [PATCH] fix: need to use toRegistryEntry --- src/methods/registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods/registry.ts b/src/methods/registry.ts index 400b7b6..c128609 100644 --- a/src/methods/registry.ts +++ b/src/methods/registry.ts @@ -137,7 +137,7 @@ export async function createEntry( const entry = { kp: sk, - data: cid.toBytes(), + data: cid.toRegistryEntry(), revision, };