From 5fee42e5ec9e0dbe3495ced4e0d2a4fc8c528fae Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 30 Dec 2023 06:33:12 -0800 Subject: [PATCH] blocks: actually set the note block version Version 1 to start Signed-off-by: William Casarin --- src/content_parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content_parser.c b/src/content_parser.c index a83ba93..7767a72 100644 --- a/src/content_parser.c +++ b/src/content_parser.c @@ -537,6 +537,7 @@ int ndb_parse_content(unsigned char *buf, int buf_size, parser.blocks->num_blocks = 0; parser.blocks->blocks_size = 0; parser.blocks->flags = 0; + parser.blocks->version = 1; blocks_start = start = parser.content.p; while (parser.content.p < parser.content.end) {