mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Implement LoanBrokerCoverClawback and many test cases
- Not all tests are passing yet
This commit is contained in:
@@ -426,6 +426,16 @@ coverWithdraw(
|
||||
return jv;
|
||||
}
|
||||
|
||||
Json::Value
|
||||
coverClawback(AccountID const& account, std::uint32_t flags)
|
||||
{
|
||||
Json::Value jv;
|
||||
jv[sfTransactionType] = jss::LoanBrokerCoverClawback;
|
||||
jv[sfAccount] = to_string(account);
|
||||
jv[sfFlags] = flags;
|
||||
return jv;
|
||||
}
|
||||
|
||||
} // namespace loanBroker
|
||||
|
||||
/* Loan */
|
||||
|
||||
Reference in New Issue
Block a user