Skip to content

Commit

Permalink
parser/formatting.c: style nits in clang-format-off section
Browse files Browse the repository at this point in the history
  • Loading branch information
elric1 committed Sep 20, 2023
1 parent a083ef5 commit b076cd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/parser/formatting.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ static void cx_hash_sha256(uint8_t *data, size_t size, uint8_t *out,
} \
} while (0)

static int find_prefix(const char *s, const uint8_t **p, size_t *pl, size_t dl)
static int
find_prefix(const char *s, const uint8_t **p, size_t *pl, size_t dl)
{

/* For tz_format_hash */
Expand Down Expand Up @@ -340,7 +341,7 @@ static int find_prefix(const char *s, const uint8_t **p, size_t *pl, size_t dl)
B58_PREFIX("src1", "\x11\xa5\x86\x8a", 4, 32);

return 1;
};
}
// clang-format on

int tz_format_base58check(const char *sprefix, const uint8_t *data,
Expand Down

0 comments on commit b076cd2

Please sign in to comment.