Update include/xrpl/tx/transactors/lending/LendingHelpers.h

Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
This commit is contained in:
Jingchen
2026-03-27 00:03:43 +00:00
committed by GitHub
parent 0bc4be2b9c
commit c53ea3c11d

View File

@@ -225,7 +225,7 @@ computeFullPaymentInterest(
* does not carry the deprecated sfCoverRateLiquidation field.
*/
inline bool
useProportionalDefaultCover(Rules const& rules, std::shared_ptr<SLE const> brokerSle)
useProportionalDefaultCover(Rules const& rules, std::shared_ptr<SLE const> const& brokerSle)
{
return rules.enabled(featureLendingProtocolV1_1) &&
!brokerSle->isFieldPresent(sfCoverRateLiquidation);