commit 7c047ab79051218601930470d3d3d8d47842fc8b
parent 423598b0f747920369a8625d9aca5298b8e6aa59
Author: William Casarin <jb55@jb55.com>
Date: Mon, 16 Dec 2024 13:48:23 -0800
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/src/nostrdb.c b/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,