mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
Block operation if a feature we don't support is enabled in the ledger.
This commit is contained in:
@@ -547,6 +547,12 @@ bool serverOkay(std::string& reason)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (theApp->getOPs().isFeatureBlocked())
|
||||
{
|
||||
reason = "Server version too old";
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user