Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Nov 5, 2024
1 parent 9f6c9d3 commit a109747
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/xrp/amount.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void amount_formatter(field_t* field, field_value_t* dst);
void currency_formatter(field_t* field, field_value_t* dst);

bool has_non_standard_currency(field_t* field);
bool is_all_zeros(const uint8_t *data, uint8_t length);
bool is_all_zeros(const uint8_t* data, uint8_t length);

#define XRP_AMOUNT_LEN 8
#define ISSUED_CURRENCY_LEN 48
Expand Down
28 changes: 14 additions & 14 deletions src/xrp/fields.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,22 +146,22 @@ typedef enum {
// VECTOR256
#define XRP_VECTOR256_NF_TOKEN_OFFERS 0x04
// STOBJECT
#define XRP_STOBJECT_MEMO 0x0A
#define XRP_STOBJECT_SIGNER_ENTRY 0x0B
#define XRP_STOBJECT_NFTOKEN 0x0C
#define XRP_STOBJECT_SIGNER 0x10
#define XRP_STOBJECT_AUTH_ACCOUNT 0x1B
#define XRP_STOBJECT_MEMO 0x0A
#define XRP_STOBJECT_SIGNER_ENTRY 0x0B
#define XRP_STOBJECT_NFTOKEN 0x0C
#define XRP_STOBJECT_SIGNER 0x10
#define XRP_STOBJECT_AUTH_ACCOUNT 0x1B
// STARRAY
#define XRP_STARRAY_SIGNERS 0x03
#define XRP_STARRAY_SIGNER_ENTRIES 0x04
#define XRP_STARRAY_MEMOS 0x09
#define XRP_STARRAY_NFTOKENS 0x0A
#define XRP_STARRAY_MAJORITIES 0x10
#define XRP_STARRAY_DISABLED_VALIDATORS 0x11
#define XRP_STARRAY_AUTH_ACCOUNTS 0x19
#define XRP_STARRAY_SIGNERS 0x03
#define XRP_STARRAY_SIGNER_ENTRIES 0x04
#define XRP_STARRAY_MEMOS 0x09
#define XRP_STARRAY_NFTOKENS 0x0A
#define XRP_STARRAY_MAJORITIES 0x10
#define XRP_STARRAY_DISABLED_VALIDATORS 0x11
#define XRP_STARRAY_AUTH_ACCOUNTS 0x19
// ISSUE
#define XRP_ISSUE_ASSET 0x03
#define XRP_ISSUE_ASSET2 0x04
#define XRP_ISSUE_ASSET 0x03
#define XRP_ISSUE_ASSET2 0x04
// CURRENCY
#define XRP_CURRENCY_CURRENCY 0x01

Expand Down

0 comments on commit a109747

Please sign in to comment.