Explorar o código

add FIXME to faq

Jordan Sexton %!s(int64=2) %!d(string=hai) anos
pai
achega
23b965efe1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      FAQ.md

+ 1 - 0
FAQ.md

@@ -143,6 +143,7 @@ export const SignMessageButton: FC = () => {
             const message = new TextEncoder().encode('Hello, world!');
             // Sign the bytes using the wallet
             const signature = await signMessage(message);
+            // FIXME: replace with `verifySignMessage`
             // Verify that the bytes were signed using the private key that matches the known public key
             if (!ed25519.verify(signature, message, publicKey.toBytes())) throw new Error('Invalid signature!');