mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use features instead of ApplyFlags:
tapENABLE_TESTING is removed from checks, and feature enablement is the sole method for activating features. Unit tests are updated to enable required features in the construction of the Env. Tickets are put on a feature switch instead of a build macro.
This commit is contained in:
@@ -73,9 +73,8 @@ SetSignerList::determineOperation(STTx const& tx,
|
||||
TER
|
||||
SetSignerList::preflight (PreflightContext const& ctx)
|
||||
{
|
||||
if (! (ctx.flags & tapENABLE_TESTING) &&
|
||||
! ctx.rules.enabled(featureMultiSign,
|
||||
ctx.app.config().features))
|
||||
if (! ctx.rules.enabled(featureMultiSign,
|
||||
ctx.app.config().features))
|
||||
return temDISABLED;
|
||||
|
||||
auto const ret = preflight1 (ctx);
|
||||
|
||||
Reference in New Issue
Block a user