Skip to content

Commit

Permalink
fix: verifyArbitrary signature
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCQL committed Jan 12, 2024
1 parent 919f138 commit f8a54f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosmes",
"version": "0.0.49",
"version": "0.0.50-rc.0",
"private": false,
"packageManager": "[email protected]",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/utils/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function verifyArbitrary({
pubKey: base64.decode(pubKey),
bech32Prefix,
data: utf8.decode(data),
signature: utf8.decode(signature),
signature: base64.decode(signature),
};
try {
switch (wallet) {
Expand Down

0 comments on commit f8a54f4

Please sign in to comment.