Skip to content

Commit

Permalink
Update flags.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed May 7, 2024
1 parent d30a774 commit 78d4ded
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xrp/flags.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ static void format_nftoken_mint_flags(uint32_t value, field_value_t *dst) {
// offset = append_item(dst, offset, "Auto Trustline");
// }

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
if (HAS_FLAG(value, TF_TRANSFERABLE)) {
offset = append_item(dst, offset, "Transferable");
append_item(dst, offset, "Transferable");
}
}

Expand All @@ -295,7 +295,7 @@ static void format_nftoken_create_offer_flags(uint32_t value, field_value_t *dst

size_t offset = 0;
if (HAS_FLAG(value, TF_SELL_NFTOKEN)) {
offset = append_item(dst, offset, "Sell");
append_item(dst, offset, "Sell");
}
}

Expand Down Expand Up @@ -327,7 +327,7 @@ static void format_amm_deposit_flags(uint32_t value, field_value_t *dst) {
offset = append_item(dst, offset, "Limit LP Token");
}
if (HAS_FLAG(value, TF_TWO_ASSET_IF_EMPTY)) {
offset = append_item(dst, offset, "Two Asset If Empty");
append_item(dst, offset, "Two Asset If Empty");
}
}

Expand All @@ -353,7 +353,7 @@ static void format_amm_withdraw_flags(uint32_t value, field_value_t *dst) {
offset = append_item(dst, offset, "Withdraw All");
}
if (HAS_FLAG(value, TF_ONE_ASSET_WITHDRAW_ALL)) {
offset = append_item(dst, offset, "One Asset Withdraw All");
append_item(dst, offset, "One Asset Withdraw All");
}
}

Expand Down

0 comments on commit 78d4ded

Please sign in to comment.