small things.

This commit is contained in:
fiatjaf
2025-04-03 00:23:26 -03:00
parent 0d5daf66bf
commit b48d2249b9
3 changed files with 4 additions and 4 deletions

View File

@@ -142,11 +142,11 @@ func loadWallet(
for ie := range deletions {
w.Lock()
if !eosed {
for _, tag := range ie.Event.Tags.All([]string{"e", ""}) {
for tag := range ie.Event.Tags.FindAll("e") {
w.pendingDeletions = append(w.pendingDeletions, tag[1])
}
} else {
for _, tag := range ie.Event.Tags.All([]string{"e", ""}) {
for tag := range ie.Event.Tags.FindAll("e") {
w.removeDeletedToken(tag[1])
}
}