commit 20255198fdf5c322aac07d8093145f4bd2b1390e
parent 289a8e262a69784d0d8a13a102536c0d582ce2d4
Author: William Casarin <jb55@jb55.com>
Date: Mon, 16 Dec 2024 13:48:23 -0800
nostrdb: bug: add missing break statement
probably harmless but it writes the note twice...
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c
@@ -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,