From 4815c8a6f7ac3cc1a8c882dec220680bd3381a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 28 Jul 2025 17:29:58 -0700 Subject: [PATCH] Fix nprofile parsing failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog-None Signed-off-by: Daniel D’Aquino --- nostrdb/src/content_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb/src/content_parser.c b/nostrdb/src/content_parser.c index 40db04f4..ccbb4085 100644 --- a/nostrdb/src/content_parser.c +++ b/nostrdb/src/content_parser.c @@ -113,7 +113,7 @@ static int push_bech32_mention(struct ndb_content_parser *p, struct ndb_str_bloc uint16_t *u8_size; enum nostr_bech32_type type; size_t u5_out_len, u8_out_len; - static const int MAX_PREFIX = 8; + static const int MAX_PREFIX = 9; char prefix[9] = {0}; start = p->buffer.p;