mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Fix issues
This commit is contained in:
@@ -1052,7 +1052,7 @@ TRANSACTION(ttLOAN_SET, 80, LoanSet,
|
||||
TRANSACTION(ttLOAN_DELETE, 81, LoanDelete,
|
||||
Delegation::NotDelegable,
|
||||
featureLendingProtocol,
|
||||
NoPriv, ({
|
||||
MayModifyVault, ({
|
||||
{sfLoanID, SoeRequired},
|
||||
}))
|
||||
|
||||
|
||||
@@ -96,6 +96,7 @@ class ValidVault
|
||||
Number principalOutstanding = 0;
|
||||
Number totalValueOutstanding = 0;
|
||||
Number managementFeeOutstanding = 0;
|
||||
uint32_t flags = 0;
|
||||
|
||||
// Interest booked to the vault at loan creation: the portion of the
|
||||
// total value owed that is neither principal nor broker management fee.
|
||||
|
||||
@@ -24,9 +24,11 @@ class LoanSet : public Transactor
|
||||
private:
|
||||
static std::uint32_t
|
||||
getStartDate(ReadView const& view, STTx const& tx);
|
||||
static bool
|
||||
isTwoStepFlowEnabled(Rules const& rules);
|
||||
/* Returns true if the transaction is using the two-step flow. */
|
||||
static bool
|
||||
isTwoStepFlow(STTx const& tx, Rules const& rules);
|
||||
isTwoStepFlow(STTx const& tx);
|
||||
/* Returns true if the transaction is using the one-step flow. */
|
||||
static bool
|
||||
isOneStepFlow(STTx const& tx);
|
||||
|
||||
Reference in New Issue
Block a user