mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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:
@@ -1301,7 +1301,7 @@ LedgerMaster::getValidatedRules ()
|
||||
if (auto const ledger = getValidatedLedger())
|
||||
return ledger->rules();
|
||||
|
||||
return Rules();
|
||||
return Rules(app_.config().features);
|
||||
}
|
||||
|
||||
// This is the last ledger we published to clients and can lag the validated
|
||||
|
||||
Reference in New Issue
Block a user