mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-22 20:55:52 +00:00
feat: Native Feature RPC (#1526)
This commit is contained in:
@@ -902,6 +902,16 @@ CreateAmendmentsObject(std::vector<ripple::uint256> const& enabledAmendments)
|
||||
return amendments;
|
||||
}
|
||||
|
||||
ripple::STObject
|
||||
CreateBrokenAmendmentsObject()
|
||||
{
|
||||
auto amendments = ripple::STObject(ripple::sfLedgerEntry);
|
||||
amendments.setFieldU16(ripple::sfLedgerEntryType, ripple::ltAMENDMENTS);
|
||||
amendments.setFieldU32(ripple::sfFlags, 0);
|
||||
// Note: no sfAmendments present
|
||||
return amendments;
|
||||
}
|
||||
|
||||
ripple::STObject
|
||||
CreateAMMObject(
|
||||
std::string_view accountId,
|
||||
|
||||
Reference in New Issue
Block a user