Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sargue committed Aug 10, 2023
1 parent cd78c57 commit bbd0b9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ardor.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ uint8_t formatChainAmount(char *const out,
if (0 == ret) {
return 0;
}

// append an space and the chain name
snprintf(out + ret - 1, maxLength - ret - 1, " %s", chainName(chainId));

Expand Down
2 changes: 1 addition & 1 deletion src/ardor.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ uint8_t formatAmount(char* const outputString,
uint64_t numberToFormat,
const uint8_t numDigitsBeforeDecimal);

uint8_t formatChainAmount(char *const out,
uint8_t formatChainAmount(char* const out,
const uint16_t maxLength,
uint64_t amount,
const uint8_t chainId);
Expand Down

0 comments on commit bbd0b9a

Please sign in to comment.