From fb10367d3d97e3343a330a78293d0cb0e65c59cc Mon Sep 17 00:00:00 2001 From: JCW Date: Thu, 2 Apr 2026 11:46:34 +0100 Subject: [PATCH] Fix comments --- src/tests/libxrpl/helpers/TxTest.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/tests/libxrpl/helpers/TxTest.h b/src/tests/libxrpl/helpers/TxTest.h index 1466917b07..4b6294acc2 100644 --- a/src/tests/libxrpl/helpers/TxTest.h +++ b/src/tests/libxrpl/helpers/TxTest.h @@ -77,7 +77,15 @@ XRP(Number const& xrp) /** * @brief Convert AccountSet flag (asf) to LedgerState flag (lsf). * @param asf The AccountSet flag value. - * @return The corresponding LedgerState flag, or 0 if unknown. + * @return The corresponding LedgerState flag. + * @throws std::runtime_error if the flag is not supported. + * + * Supported flags: + * asfRequireDest, asfRequireAuth, asfDisallowXRP, asfDisableMaster, + * asfNoFreeze, asfGlobalFreeze, asfDefaultRipple, asfDepositAuth, + * asfAllowTrustLineClawback, asfDisallowIncomingCheck, + * asfDisallowIncomingNFTokenOffer, asfDisallowIncomingPayChan, + * asfDisallowIncomingTrustline, asfAllowTrustLineLocking */ constexpr std::uint32_t asfToLsf(std::uint32_t asf)