mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
fix: Improve loan invariant message (#6668)
This commit is contained in:
@@ -2593,8 +2593,8 @@ ValidLoan::finalize(
|
||||
after->at(sfPrincipalOutstanding) == beast::zero &&
|
||||
after->at(sfManagementFeeOutstanding) == beast::zero)
|
||||
{
|
||||
JLOG(j.fatal()) << "Invariant failed: Loan with zero payments "
|
||||
"remaining has not been paid off";
|
||||
JLOG(j.fatal()) << "Invariant failed: Fully paid off Loan still "
|
||||
"has payments remaining";
|
||||
return false;
|
||||
}
|
||||
if (before &&
|
||||
|
||||
Reference in New Issue
Block a user