actually this is the fix.

This commit is contained in:
fiatjaf 2023-11-24 21:19:10 -03:00
parent 53cb2c0490
commit f2f9dda33a
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -139,7 +139,7 @@ example:
Tags: make(nostr.Tags, 0, 3), Tags: make(nostr.Tags, 0, 3),
} }
kindWasSupplied := true kindWasSupplied := false
mustRehashAndResign := false mustRehashAndResign := false
if stdinEvent != "" { if stdinEvent != "" {
if err := json.Unmarshal([]byte(stdinEvent), &evt); err != nil { if err := json.Unmarshal([]byte(stdinEvent), &evt); err != nil {