mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Block operation if a feature we don't support is enabled in the ledger.
This commit is contained in:
@@ -85,6 +85,10 @@ TER ChangeTransactor::applyFeature()
|
||||
featureObject->setFieldV256(sfFeatures, features);
|
||||
mEngine->entryModify(featureObject);
|
||||
|
||||
theApp->getFeatureTable().enableFeature(feature);
|
||||
if (!theApp->getFeatureTable().isFeatureSupported(feature))
|
||||
theApp->getOPs().setFeatureBlocked();
|
||||
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user