fix issues

This commit is contained in:
Mayukha Vadari
2026-03-22 22:33:48 -07:00
parent 44c6c52319
commit 9659b9baff
6 changed files with 55 additions and 65 deletions

View File

@@ -91,6 +91,19 @@ public:
beast::Journal j,
SpendableHandling includeFullBalance = shSIMPLE_BALANCE) const override;
/** Returns the funds available for account to pay for an amount.
*
* If the account is the issuer of the currency, it can always
* afford to pay (returns saDefault as-is). Otherwise, returns
* the result of accountHolds.
*/
[[nodiscard]] STAmount
accountFunds(
AccountID const& id,
STAmount const& saDefault,
FreezeHandling freezeHandling,
beast::Journal j) const;
[[nodiscard]] TER
canAddHolding() const override;