diff --git a/src/service/registry.ts b/src/service/registry.ts index 64957be..fd5c98f 100644 --- a/src/service/registry.ts +++ b/src/service/registry.ts @@ -173,7 +173,7 @@ export class RegistryService { await this.set(sre); } - async signRegistryEntry({ + signRegistryEntry({ kp, data, revision, @@ -181,7 +181,7 @@ export class RegistryService { kp: KeyPairEd25519; data: Uint8Array; revision: number; - }): Promise { + }): SignedRegistryEntry { const list = new Uint8Array([ recordTypeRegistryEntry, ...encodeEndian(revision, 8),