mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Add the config preset features to the view:
It is often difficult to get access to the preset features in the config. Adding the preset features solves this problem.
This commit is contained in:
@@ -1426,9 +1426,9 @@ void NetworkOPsImp::switchLastClosedLedger (
|
||||
app_.getLedgerMaster().getValidatedLedger();
|
||||
boost::optional<Rules> rules;
|
||||
if (lastVal)
|
||||
rules.emplace(*lastVal);
|
||||
rules.emplace(*lastVal, app_.config().features);
|
||||
else
|
||||
rules.emplace();
|
||||
rules.emplace(app_.config().features);
|
||||
app_.openLedger().accept(app_, *rules,
|
||||
newLCL, OrderedTxs({}), false, retries,
|
||||
tapNONE, "jump",
|
||||
@@ -2115,7 +2115,7 @@ Json::Value NetworkOPsImp::getServerInfo (bool human, bool admin)
|
||||
info[jss::load] = m_job_queue.getJson ();
|
||||
|
||||
auto const escalationMetrics = app_.getTxQ().getMetrics(
|
||||
app_.config(), *app_.openLedger().current());
|
||||
*app_.openLedger().current());
|
||||
|
||||
constexpr std::uint64_t max32 =
|
||||
std::numeric_limits<std::uint32_t>::max();
|
||||
|
||||
Reference in New Issue
Block a user