Skip to content

Commit

Permalink
chore: optimize sui example
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 committed Nov 6, 2024
1 parent 9843a1f commit 15b4f50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function Example() {

const isValidSignature = nacl.sign.detached.verify(
Buffer.from(fullMessage),
hexToBytes(signature),
hexToBytes(stripHexPrefix(signature)),
hexToBytes(stripHexPrefix(account?.publicKey)),
);

Expand Down

0 comments on commit 15b4f50

Please sign in to comment.