mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
Apply suggestions from code review
Co-authored-by: depthfirst-app[bot] <184448029+depthfirst-app[bot]@users.noreply.github.com>
This commit is contained in:
@@ -479,7 +479,11 @@ ValidVault::finalize(
|
||||
// pending loan (Borrower present, CounterpartySignature absent).
|
||||
if (afterVault.assetsReserved != beforeVault.assetsReserved)
|
||||
{
|
||||
bool const pendingLoanSet = txnType == ttLOAN_SET && tx.isFieldPresent(sfBorrower) &&
|
||||
bool const pendingLoanSet = txnType == ttLOAN_SET &&
|
||||
tx.isFieldPresent(sfBorrower) &&
|
||||
tx.isFieldPresent(sfStartDate) &&
|
||||
!tx.isFieldPresent(sfCounterpartySignature) &&
|
||||
!tx.isFieldPresent(sfCounterparty);
|
||||
!tx.isFieldPresent(sfCounterpartySignature);
|
||||
if (txnType != ttLOAN_DELETE && txnType != ttLOAN_ACCEPT && !pendingLoanSet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user