Skip to content

Commit 7c047ab

Browse files
committed
bug: add missing break statement
probably harmless but it writes the note twice... Signed-off-by: William Casarin <[email protected]>
1 parent 423598b commit 7c047ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nostrdb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4415,6 +4415,7 @@ static void *ndb_writer_thread(void *data)
44154415
} else {
44164416
ndb_debug("failed to write note\n");
44174417
}
4418+
break;
44184419
case NDB_WRITER_NOTE:
44194420
note_nkey = ndb_write_note(&txn, &msg->note,
44204421
scratch,

0 commit comments

Comments
 (0)