mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 08:48:03 +00:00
Compare commits
9 Commits
ximinez/le
...
tapanito/l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4526d6b77b | ||
|
|
7f7fda5fd2 | ||
|
|
335b9becd7 | ||
|
|
8e4be94f4a | ||
|
|
1f3ded7116 | ||
|
|
aa1234199a | ||
|
|
da9a483b79 | ||
|
|
f447827474 | ||
|
|
07497322de |
@@ -305,7 +305,13 @@ LoanPay::doApply()
|
||||
// change will be discarded.
|
||||
if (loanSle->isFlag(lsfLoanImpaired))
|
||||
{
|
||||
LoanManage::unimpairLoan(view, loanSle, vaultSle, j_);
|
||||
if (auto const ret =
|
||||
LoanManage::unimpairLoan(view, loanSle, vaultSle, j_);
|
||||
ret != tesSUCCESS)
|
||||
{
|
||||
JLOG(j_.fatal()) << "Failed to unimpair loan before payment.";
|
||||
return ret; // LCOV_EXCL_LINE
|
||||
}
|
||||
}
|
||||
|
||||
LoanPaymentType const paymentType = [&tx]() {
|
||||
|
||||
Reference in New Issue
Block a user