commit 30c5225ed05c08563282065a2eda8ad1e195290f
parent 8c446f804c24dd9b6e2f11321b7f15ca7210cdba
Author: Rusty Russell <rusty@rustcorp.com.au>
Date: Sat, 24 Aug 2024 16:44:33 +0930
nostrdb: content_parser: fix incorrect comment.
Sure, this format would be nice, but it's not what the code does.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nostrdb/src/content_parser.c b/nostrdb/src/content_parser.c
@@ -91,8 +91,8 @@ static int parse_hashtag(struct cursor *cur, struct ndb_block *block) {
//
// bech32 blocks are stored as:
//
-// nostr_bech32_type : varint
// bech32_buffer_size : u16
+// nostr_bech32_type : varint
// bech32_data : [u8]
//
// The TLV form is compact already, so we just use it directly