nostrdb/bech32: retab

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-11 16:39:43 -07:00
committed by Daniel D’Aquino
parent 373cd71f69
commit 30ba0d72cc
2 changed files with 280 additions and 280 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ struct nostr_tlvs {
static int parse_nostr_tlv(struct cursor *cur, struct nostr_tlv *tlv) { static int parse_nostr_tlv(struct cursor *cur, struct nostr_tlv *tlv) {
// get the tlv tag // get the tlv tag
if (!pull_byte(cur, &tlv->type)) if (!cursor_pull_byte(cur, &tlv->type))
return 0; return 0;
// unknown, fail! // unknown, fail!
@@ -39,7 +39,7 @@ static int parse_nostr_tlv(struct cursor *cur, struct nostr_tlv *tlv) {
return 0; return 0;
// get the length // get the length
if (!pull_byte(cur, &tlv->len)) if (!cursor_pull_byte(cur, &tlv->len))
return 0; return 0;
// is the reported length greater then our buffer? if so fail // is the reported length greater then our buffer? if so fail