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:
@@ -11,12 +11,12 @@
|
||||
|
||||
namespace xrpl::test::jtx {
|
||||
|
||||
Json::Value
|
||||
json::Value
|
||||
rate(Account const& account, double multiplier)
|
||||
{
|
||||
if (multiplier > 4)
|
||||
Throw<std::runtime_error>("rate multiplier out of range");
|
||||
Json::Value jv;
|
||||
json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
jv[jss::TransferRate] = std::uint32_t(1000000000 * multiplier);
|
||||
jv[jss::TransactionType] = jss::AccountSet;
|
||||
|
||||
Reference in New Issue
Block a user