Fix nprofile parsing failure

Changelog-None
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2025-07-28 17:29:58 -07:00
parent f42ae0673d
commit 4815c8a6f7

View File

@@ -113,7 +113,7 @@ static int push_bech32_mention(struct ndb_content_parser *p, struct ndb_str_bloc
uint16_t *u8_size; uint16_t *u8_size;
enum nostr_bech32_type type; enum nostr_bech32_type type;
size_t u5_out_len, u8_out_len; size_t u5_out_len, u8_out_len;
static const int MAX_PREFIX = 8; static const int MAX_PREFIX = 9;
char prefix[9] = {0}; char prefix[9] = {0};
start = p->buffer.p; start = p->buffer.p;