From 7debc6fd2d8ac3f51ba83a724be346fbc076873d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 12 Feb 2022 20:30:18 -0300 Subject: [PATCH] it's evt.sig, not evt.signature. --- handlers/EventSigning.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/EventSigning.jsx b/handlers/EventSigning.jsx index 9623d9d..f1fc7a5 100644 --- a/handlers/EventSigning.jsx +++ b/handlers/EventSigning.jsx @@ -32,7 +32,7 @@ export default function EventSigning({value}) { } }, [value, privateKey]) let isValidSignature = useComputedState(async () => { - if (evt.id && evt.signature) { + if (evt.id && evt.sig) { try { return await verifySignature(evt) } catch (err) {