mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-19 05:10:55 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user