nostrdb: bug: add missing break statement

probably harmless but it writes the note twice...

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-12-16 13:48:23 -08:00
committed by Daniel D’Aquino
parent 289a8e262a
commit 20255198fd

View File

@@ -4415,6 +4415,7 @@ static void *ndb_writer_thread(void *data)
} else {
ndb_debug("failed to write note\n");
}
break;
case NDB_WRITER_NOTE:
note_nkey = ndb_write_note(&txn, &msg->note,
scratch,