Update src/libxrpl/tx/transactors/lending/LoanSet.cpp

Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
This commit is contained in:
Jingchen
2026-03-26 11:53:15 +00:00
committed by GitHub
parent 6e36dfa48b
commit 708e4d62fa

View File

@@ -395,7 +395,7 @@ LoanSet::doApply()
return tefBAD_LEDGER; // LCOV_EXCL_LINE
}
if (brokerSle->isFlag(lsfLoanBrokerPrivate))
if (ctx_.view().rules().enabled(featureLendingProtocolV1_1) && brokerSle->isFlag(lsfLoanBrokerPrivate))
{
auto const domainID = brokerSle->at(~sfDomainID);
if (!domainID)