Skip to content

Commit

Permalink
chore: fix typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceeewong committed Feb 4, 2025
1 parent 8bbc1e5 commit 2b975ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/kit/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,10 @@ function App() {
const result = await wallet.signPersonalMessage({
message: msgUint8Array,
});
const publickKey = new Uint8Array(wallet.account.publicKey);
const isValid = await wallet.verifySignedMessage(
result,
wallet.account.publicKey
publickKey
);
console.log("verify signedMessage", isValid);
alert("signMessage succeeded (see response in the console)");
Expand Down

0 comments on commit 2b975ba

Please sign in to comment.