From 24d503ce4f392e0c943f8c4f29d9fe6610a42a1e Mon Sep 17 00:00:00 2001 From: Troy Kessler <43882936+troykessler@users.noreply.github.com> Date: Wed, 11 Jan 2023 09:49:23 +0100 Subject: [PATCH] refactor: removed async from sdk verify string (#12) --- common/sdk/src/sdk.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/sdk/src/sdk.ts b/common/sdk/src/sdk.ts index b6ac3b5c..9cfb21d0 100644 --- a/common/sdk/src/sdk.ts +++ b/common/sdk/src/sdk.ts @@ -227,11 +227,11 @@ export class KyveSDK { return account.address; } - static async verifyString( + static verifyString( signature: string, data: string, pubKey: string - ): Promise { + ): boolean { return verifyADR36Amino( PREFIX, KyveSDK.getAddressFromPubKey(pubKey),