mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-25 00:59:08 -05:00
guard against invalid signature.
This commit is contained in:
parent
1d26118430
commit
143c7fe000
|
@ -55,7 +55,9 @@ export default function EventSigning({value}) {
|
|||
{getEventHash(evt)}
|
||||
</Item>
|
||||
{evt.sig ? (
|
||||
<Item label="signature valid">{isValidSignature.toString()}</Item>
|
||||
<Item label="signature valid">
|
||||
{isValidSignature?.toString() || ''}
|
||||
</Item>
|
||||
) : (
|
||||
<>
|
||||
<Item
|
||||
|
|
Loading…
Reference in New Issue
Block a user