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:
@@ -253,9 +253,8 @@ SetAccount::doApply ()
|
||||
// Account has no regular key or multi-signer signer list.
|
||||
|
||||
// Prevent transaction changes until we're ready.
|
||||
if (view().flags() & tapENABLE_TESTING ||
|
||||
view().rules().enabled(featureMultiSign,
|
||||
ctx_.app.config().features))
|
||||
if (view().rules().enabled(featureMultiSign,
|
||||
ctx_.app.config().features))
|
||||
return tecNO_ALTERNATIVE_KEY;
|
||||
|
||||
return tecNO_REGULAR_KEY;
|
||||
|
||||
Reference in New Issue
Block a user