mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
chore: Set ColumnLimit to 120 in clang-format (#6288)
This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
This commit is contained in:
@@ -27,11 +27,7 @@ trust(Account const& account, STAmount const& amount, std::uint32_t flags)
|
||||
// authorises peer (third function parameter) to hold a certain currency
|
||||
// (amount, the second function parameter)
|
||||
Json::Value
|
||||
trust(
|
||||
Account const& account,
|
||||
STAmount const& amount,
|
||||
Account const& peer,
|
||||
std::uint32_t flags)
|
||||
trust(Account const& account, STAmount const& amount, Account const& peer, std::uint32_t flags)
|
||||
{
|
||||
if (isXRP(amount))
|
||||
Throw<std::runtime_error>("trust() requires IOU");
|
||||
@@ -47,10 +43,7 @@ trust(
|
||||
}
|
||||
|
||||
Json::Value
|
||||
claw(
|
||||
Account const& account,
|
||||
STAmount const& amount,
|
||||
std::optional<Account> const& mptHolder)
|
||||
claw(Account const& account, STAmount const& amount, std::optional<Account> const& mptHolder)
|
||||
{
|
||||
Json::Value jv;
|
||||
jv[jss::Account] = account.human();
|
||||
|
||||
Reference in New Issue
Block a user