mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 09:00:32 +00:00
Apply suggestion from @Tapanito
Co-authored-by: Vito Tumas <5780819+Tapanito@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user