From e42b14cc6f42188b42e8f1e85ab3db4a9b8fc775 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 21 Mar 2025 14:46:26 -0700 Subject: [PATCH] nostrdb: debug: add a print for debugging rust integration Signed-off-by: William Casarin --- nostrdb/src/nostrdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index 15d7001e..2ac9ee75 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -2642,6 +2642,7 @@ static int ndb_process_note_relay(struct ndb_txn *txn, struct ndb_writer_msg *ou // if not, tell the writer thread to emit a NOTE_RELAY event out->type = NDB_WRITER_NOTE_RELAY; + ndb_debug("pushing NDB_WRITER_NOTE_RELAY with note_key %" PRIu64 "\n", note_key); out->note_relay.relay = relay; out->note_relay.note_key = note_key; out->note_relay.kind = ndb_note_kind(note);