mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
refactor: Enable clang-tidy readability-identifier-naming check (#6571)
This commit is contained in:
@@ -10,19 +10,19 @@
|
||||
|
||||
namespace xrpl::test::jtx {
|
||||
|
||||
Json::Value
|
||||
json::Value
|
||||
pay(AccountID const& account, AccountID const& to, AnyAmount amount)
|
||||
{
|
||||
amount.to(to);
|
||||
Json::Value jv;
|
||||
json::Value jv;
|
||||
jv[jss::Account] = to_string(account);
|
||||
jv[jss::Amount] = amount.value.getJson(JsonOptions::none);
|
||||
jv[jss::Amount] = amount.value.getJson(JsonOptions::KNone);
|
||||
jv[jss::Destination] = to_string(to);
|
||||
jv[jss::TransactionType] = jss::Payment;
|
||||
jv[jss::Flags] = tfFullyCanonicalSig;
|
||||
return jv;
|
||||
}
|
||||
Json::Value
|
||||
json::Value
|
||||
pay(Account const& account, Account const& to, AnyAmount amount)
|
||||
{
|
||||
return pay(account.id(), to.id(), amount);
|
||||
|
||||
Reference in New Issue
Block a user