damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 4815c8a6f7ac3cc1a8c882dec220680bd3381a60
parent f42ae0673d2a833e070aa2e27524126ba4249312
Author: Daniel D’Aquino <daniel@daquino.me>
Date:   Mon, 28 Jul 2025 17:29:58 -0700

Fix nprofile parsing failure

Changelog-None
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>

Diffstat:
Mnostrdb/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 @@ -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;