nip60: fix receive proof saving, send nil to Processed, do a dedicated kind:5 filter, hack for initial processing race condition.

This commit is contained in:
fiatjaf
2025-01-28 23:47:35 -03:00
parent 794561a3b3
commit 1e76aec884
3 changed files with 9 additions and 3 deletions

View File

@@ -148,7 +148,7 @@ found:
deleteEvent := nostr.Event{
CreatedAt: nostr.Now(),
Kind: 5,
Tags: nostr.Tags{{"e", token.event.ID}},
Tags: nostr.Tags{{"e", token.event.ID}, {"k", "7375"}},
}
w.wl.kr.SignEvent(ctx, &deleteEvent)
w.wl.Changes <- deleteEvent