From 34a977953c2bfea53f9cd1157809919b1dd2ed04 Mon Sep 17 00:00:00 2001 From: Miljan Milidrag Date: Wed, 20 Apr 2022 14:50:31 +0200 Subject: [PATCH] fix(account): function documentation fix --- src/account/default.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/account/default.ts b/src/account/default.ts index 7266d3a9b..b355809b4 100644 --- a/src/account/default.ts +++ b/src/account/default.ts @@ -250,7 +250,8 @@ export class Account extends Provider implements AccountInterface { } /** - * Verify a signature of a JSON object + * Verify a signature of a given hash + * @warning This method is not recommended, use verifyMessage instead * * @param hash - JSON object to be verified * @param signature - signature of the JSON object @@ -274,8 +275,7 @@ export class Account extends Provider implements AccountInterface { } /** - * Verify a signature of a given hash - * @warning This method is not recommended, use verifyMessage instead + * Verify a signature of a JSON object * * @param hash - hash to be verified * @param signature - signature of the hash