mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user