Skip to content

Commit

Permalink
refactor: removed async from sdk verify string (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler authored Jan 11, 2023
1 parent 0b9f360 commit 24d503c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/sdk/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ export class KyveSDK {
return account.address;
}

static async verifyString(
static verifyString(
signature: string,
data: string,
pubKey: string
): Promise<boolean> {
): boolean {
return verifyADR36Amino(
PREFIX,
KyveSDK.getAddressFromPubKey(pubKey),
Expand Down

0 comments on commit 24d503c

Please sign in to comment.