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:
seelabs
2017-02-03 17:53:30 -05:00
committed by Edward Hennis
parent e01f6e7455
commit f5af8b03de
30 changed files with 108 additions and 138 deletions

View File

@@ -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