Skip to content

Commit

Permalink
bug: add missing break statement
Browse files Browse the repository at this point in the history
probably harmless but it writes the note twice...

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Dec 16, 2024
1 parent 423598b commit 7c047ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nostrdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7c047ab

Please sign in to comment.