nostrdb/bech32: retab

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2023-12-23 15:42:36 -08:00
committed by Daniel D’Aquino
parent 373cd71f69
commit 30ba0d72cc
2 changed files with 280 additions and 280 deletions

View File

@@ -31,7 +31,7 @@ struct nostr_tlvs {
static int parse_nostr_tlv(struct cursor *cur, struct nostr_tlv *tlv) {
// get the tlv tag
if (!pull_byte(cur, &tlv->type))
if (!cursor_pull_byte(cur, &tlv->type))
return 0;
// unknown, fail!
@@ -39,7 +39,7 @@ static int parse_nostr_tlv(struct cursor *cur, struct nostr_tlv *tlv) {
return 0;
// get the length
if (!pull_byte(cur, &tlv->len))
if (!cursor_pull_byte(cur, &tlv->len))
return 0;
// is the reported length greater then our buffer? if so fail