From ade87a9934b89294cf2fac4edd2c637764bac4e8 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 1 Sep 2023 07:51:40 -0400 Subject: [PATCH] refactor: signRegistryEntry does not need to be async --- src/service/registry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),