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.
This commit is contained in:
Timur Ialymov
2026-08-18 19:17:12 +01:00
parent ecca139447
commit feea4f7651

View File

@@ -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<SField const*> const kPseudoAccountFilter{&sfVaultID, &sfLoanBrokerID};
if (view.rules().enabled(fixCleanup3_4_0) &&
isPseudoAccount(view, account, kPseudoAccountFilter))