damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 52845a52bb6a4c8d240e91add166e412a789a31d
parent 4e27cca12b2c39438c8e5cc23688897304c7acf5
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 12 Jan 2025 17:41:29 -0800

nostrdb: remove ndb_writer_queue_note (dead code)

This doesn't seem to be used at all

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/src/nostrdb.c | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c @@ -1930,18 +1930,6 @@ int ndb_note_verify(void *ctx, unsigned char pubkey[32], unsigned char id[32], return 1; } -static int ndb_writer_queue_note(struct ndb_writer *writer, - struct ndb_note *note, size_t note_len) -{ - struct ndb_writer_msg msg; - msg.type = NDB_WRITER_NOTE; - - msg.note.note = note; - msg.note.note_len = note_len; - - return prot_queue_push(&writer->inbox, &msg); -} - static void ndb_writer_last_profile_fetch(struct ndb_txn *txn, const unsigned char *pubkey, uint64_t fetched_at)