nostrdb: debug: add a print for debugging rust integration

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-03-21 14:46:26 -07:00
committed by Daniel D’Aquino
parent f0521ba406
commit e42b14cc6f

View File

@@ -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);