mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 00:58:50 +00:00
it's evt.sig, not evt.signature.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user