lmdb: two small fixes, and stop doing WRITEMAP so it stops crashing.

This commit is contained in:
fiatjaf
2026-04-11 15:24:37 -03:00
parent 1794f0690f
commit 181de14642
3 changed files with 7 additions and 13 deletions
-1
View File
@@ -54,7 +54,6 @@ func (b *LMDBBackend) queryByIds(txn *lmdb.Txn, ids []nostr.ID, yield func(nostr
continue
}
txn.Get(b.rawEventStore, idx)
bin, err := txn.Get(b.rawEventStore, idx)
if err != nil {
continue