mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 16:35:53 +00:00
Review feedback from @gregtatcam: readability
This commit is contained in:
@@ -1653,7 +1653,7 @@ loanMakePayment(
|
|||||||
Number totalPaid;
|
Number totalPaid;
|
||||||
std::size_t numPayments = 0;
|
std::size_t numPayments = 0;
|
||||||
|
|
||||||
while (amount >= totalPaid + periodic.totalDue &&
|
while ((amount >= (totalPaid + periodic.totalDue)) &&
|
||||||
paymentRemainingProxy > 0 &&
|
paymentRemainingProxy > 0 &&
|
||||||
numPayments < loanMaximumPaymentsPerTransaction)
|
numPayments < loanMaximumPaymentsPerTransaction)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user