From efba59977981a0fd07ca773d75edcbb79e196a7d Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 13 Dec 2024 20:01:33 -0800 Subject: [PATCH] nostrdb: ids: fix typo in ndb_query_plan_execute_ids We should be specifying that we've matched the id here, not authors. Not that this would have any effect.. but still. Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index 0c56c102..92657056 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -3079,7 +3079,7 @@ static int ndb_query_plan_execute_ids(struct ndb_txn *txn, note_id = *(uint64_t*)v.mv_data; if (memcmp(id, ptsid->id, 32) == 0) - matched |= 1 << NDB_FILTER_AUTHORS; + matched |= 1 << NDB_FILTER_IDS; else continue;