From 0fbd38fecb02abf173ba1fab4849ca3d3b7d5387 Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Tue, 7 Jul 2026 23:53:15 -0400 Subject: [PATCH] fix docstrings --- include/xrpl/ledger/helpers/AccountRootHelpers.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/xrpl/ledger/helpers/AccountRootHelpers.h b/include/xrpl/ledger/helpers/AccountRootHelpers.h index 13b22becc2..c9d4406c32 100644 --- a/include/xrpl/ledger/helpers/AccountRootHelpers.h +++ b/include/xrpl/ledger/helpers/AccountRootHelpers.h @@ -62,8 +62,8 @@ struct Adjustment * @param view The ledger view to read from * @param sle The ledger entry for the account * @param j Journal for logging - * @param ownerCountAdj Adjustment to the owner count (default: 0) - * @param accountCountAdj Adjustment to the account count (default: 0) + * @param adj Adjustment to the owner/account count (default: 0/0). Positive to add, negative to + * subtract. * @return The account reserve amount in drops */ [[nodiscard]] XRPAmount @@ -74,8 +74,8 @@ accountReserve(ReadView const& view, SLE::const_ref sle, beast::Journal j, Adjus * @param view The ledger view to read from * @param id The account ID * @param j Journal for logging - * @param ownerCountAdj Adjustment to the owner count (default: 0) - * @param accountCountAdj Adjustment to the account count (default: 0) + * @param adj Adjustment to the owner/account count (default: 0/0). Positive to add, negative to + * subtract. * @return The account reserve amount in drops */ [[nodiscard]] inline XRPAmount @@ -91,8 +91,8 @@ accountReserve(ReadView const& view, AccountID const& id, beast::Journal j, Adju * @param accSle The account's ledger entry * @param accBalance The account's balance * @param sponsorSle The sponsor's ledger entry (if applicable) - * @param ownerCountAdj Adjustment to the owner count - * @param accountCountAdj Adjustment to the account count (default: 0) + * @param adj Adjustment to the owner/account count (default: 0/0). Positive to add, negative to + * subtract. * @param j Journal for logging (default: null sink) * @return Transaction result code */ @@ -103,7 +103,7 @@ checkReserve( STAmount const& accBalance, SLE::const_ref sponsorSle, Adjustment adj, - beast::Journal j = beast::Journal{beast::Journal::getNullSink()}); + beast::Journal j); /** Return number of the objects which reserve is covered by the account(sle) (so called "owner * count"). Actual owner count can be adjusted by delta in ownerCountAdj.