From feea4f7651b861d1a6b218d0f13ec6f4107d6e1c Mon Sep 17 00:00:00 2001 From: Timur Ialymov Date: Tue, 18 Aug 2026 19:17:12 +0100 Subject: [PATCH] chore: Drop a redundant comment in the IOU authorization check The note about why the filter is function-local was noise sitting next to the declaration it described. --- src/libxrpl/ledger/helpers/RippleStateHelpers.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libxrpl/ledger/helpers/RippleStateHelpers.cpp b/src/libxrpl/ledger/helpers/RippleStateHelpers.cpp index 8ad31d39a1..836172c168 100644 --- a/src/libxrpl/ledger/helpers/RippleStateHelpers.cpp +++ b/src/libxrpl/ledger/helpers/RippleStateHelpers.cpp @@ -593,9 +593,6 @@ requireAuth(ReadView const& view, Issue const& issue, AccountID const& account, // can never authorize its own line and no transaction offers the // issuer a chance to do it either. Treat a line it already owns as // authorized, the same way MPT does. - // - // Function-local rather than namespace scope: the SFields it points - // at live in another translation unit. static std::set const kPseudoAccountFilter{&sfVaultID, &sfLoanBrokerID}; if (view.rules().enabled(fixCleanup3_4_0) && isPseudoAccount(view, account, kPseudoAccountFilter))