refactor: Enable clang-tidy readability-identifier-naming check (#6571)

This commit is contained in:
Alex Kremer
2026-05-03 11:31:53 +01:00
committed by GitHub
parent 182d844996
commit 8995564ed6
1498 changed files with 58858 additions and 58914 deletions

View File

@@ -11,34 +11,34 @@
namespace xrpl::test::jtx::check {
// Cash a check requiring that a specific amount be delivered.
Json::Value
json::Value
cash(jtx::Account const& dest, uint256 const& checkId, STAmount const& amount)
{
Json::Value jv;
json::Value jv;
jv[sfAccount.jsonName] = dest.human();
jv[sfAmount.jsonName] = amount.getJson(JsonOptions::none);
jv[sfAmount.jsonName] = amount.getJson(JsonOptions::KNone);
jv[sfCheckID.jsonName] = to_string(checkId);
jv[sfTransactionType.jsonName] = jss::CheckCash;
return jv;
}
// Cash a check requiring that at least a minimum amount be delivered.
Json::Value
json::Value
cash(jtx::Account const& dest, uint256 const& checkId, DeliverMin const& atLeast)
{
Json::Value jv;
json::Value jv;
jv[sfAccount.jsonName] = dest.human();
jv[sfDeliverMin.jsonName] = atLeast.value.getJson(JsonOptions::none);
jv[sfDeliverMin.jsonName] = atLeast.value.getJson(JsonOptions::KNone);
jv[sfCheckID.jsonName] = to_string(checkId);
jv[sfTransactionType.jsonName] = jss::CheckCash;
return jv;
}
// Cancel a check.
Json::Value
json::Value
cancel(jtx::Account const& dest, uint256 const& checkId)
{
Json::Value jv;
json::Value jv;
jv[sfAccount.jsonName] = dest.human();
jv[sfCheckID.jsonName] = to_string(checkId);
jv[sfTransactionType.jsonName] = jss::CheckCancel;