slightly improve verify error message.

This commit is contained in:
fiatjaf 2024-09-29 10:30:31 -03:00
parent 5b04bc4859
commit 38ed370c59

View File

@ -32,7 +32,7 @@ it outputs nothing if the verification is successful.`,
} }
if ok, err := evt.CheckSignature(); !ok { if ok, err := evt.CheckSignature(); !ok {
ctx = lineProcessingError(ctx, "invalid signature: %s", err) ctx = lineProcessingError(ctx, "invalid signature: %v", err)
continue continue
} }
} }