We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ee385 commit baf1249Copy full SHA for baf1249
src/model/account/PublicAccount.ts
@@ -81,7 +81,7 @@ export class PublicAccount {
81
const convertedSignature = convert.hexToUint8(signature);
82
83
// Convert to Uint8Array
84
- const convertedData = convert.hexToUint8(convert.isHexString(data) ? data : convert.utf8ToHex(data));
+ const convertedData = convert.hexToUint8(convert.utf8ToHex(data));
85
86
return KeyPair.verify(convert.hexToUint8(this.publicKey), convertedData, convertedSignature);
87
}
0 commit comments