nip60: don't lose tokens when bolt11 payment fails.

This commit is contained in:
fiatjaf
2026-02-03 19:17:14 -03:00
parent e17995d427
commit beb8a72491
4 changed files with 48 additions and 8 deletions
+1
View File
@@ -14,6 +14,7 @@ type Token struct {
Proofs cashu.Proofs `json:"proofs"`
Deleted []nostr.ID `json:"del,omitempty"`
reserved bool
mintedAt nostr.Timestamp
event *nostr.Event
}