From 15b4f50635d1f45001e89440c73c759da1fbbac6 Mon Sep 17 00:00:00 2001 From: ByteZhang Date: Wed, 6 Nov 2024 14:56:06 +0800 Subject: [PATCH] chore: optimize sui example --- packages/example/components/chains/aptosMartian/example.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/example/components/chains/aptosMartian/example.tsx b/packages/example/components/chains/aptosMartian/example.tsx index 3c8b5727..433ee776 100644 --- a/packages/example/components/chains/aptosMartian/example.tsx +++ b/packages/example/components/chains/aptosMartian/example.tsx @@ -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)), );