Apply suggestion from @Tapanito

Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com>
This commit is contained in:
Jingchen
2026-03-23 17:51:21 +00:00
committed by GitHub
parent afa94e5cdc
commit d908d205f2

View File

@@ -184,7 +184,11 @@ LoanBrokerSet::preclaim(PreclaimContext const& ctx)
}
}
if (domainID && *domainID != beast::zero && !sleBroker->isFlag(lsfLoanBrokerPrivate))
if (ctx.view.rules().enabled(fixLendingProtocolV1_1))
{
if (sleBroker->isFlag(lsfLoanBrokerPrivate) && domainID)
return tecNO_PERMISSION;
}
{
return tecNO_PERMISSION;
}