commit eb0a1ee807ad1cd72a83174413764b21575ce4be
parent 827731b9cbca2a058a672167e4333602069b2373
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