mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Revert "Remove CryptoConditionsSuite stub amendment:"
This reverts commit d3798f6290.
This commit is contained in:
@@ -147,7 +147,10 @@ EscrowCreate::preflight(PreflightContext const& ctx)
|
||||
return temMALFORMED;
|
||||
}
|
||||
|
||||
if (condition->type != Type::preimageSha256)
|
||||
// Conditions other than PrefixSha256 require the
|
||||
// "CryptoConditionsSuite" amendment:
|
||||
if (condition->type != Type::preimageSha256 &&
|
||||
!ctx.rules.enabled(featureCryptoConditionsSuite))
|
||||
return temDISABLED;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ class FeatureCollections
|
||||
"TickSize",
|
||||
"fix1368",
|
||||
"Escrow",
|
||||
// "CryptoConditionsSuite",
|
||||
"CryptoConditionsSuite",
|
||||
"fix1373",
|
||||
"EnforceInvariants",
|
||||
"SortedDirectories",
|
||||
@@ -348,6 +348,7 @@ extern uint256 const featureOwnerPaysFee;
|
||||
extern uint256 const featureFlow;
|
||||
extern uint256 const featureCompareTakerFlowCross;
|
||||
extern uint256 const featureFlowCross;
|
||||
extern uint256 const featureCryptoConditionsSuite;
|
||||
extern uint256 const fix1513;
|
||||
extern uint256 const featureDepositAuth;
|
||||
extern uint256 const featureChecks;
|
||||
|
||||
@@ -102,7 +102,7 @@ detail::supportedAmendments()
|
||||
"TickSize",
|
||||
"fix1368",
|
||||
"Escrow",
|
||||
// "CryptoConditionsSuite", DO NOT REUSE
|
||||
"CryptoConditionsSuite",
|
||||
"fix1373",
|
||||
"EnforceInvariants",
|
||||
"FlowCross",
|
||||
@@ -165,6 +165,7 @@ uint256 const
|
||||
featureFlow = *getRegisteredFeature("Flow"),
|
||||
featureCompareTakerFlowCross = *getRegisteredFeature("CompareTakerFlowCross"),
|
||||
featureFlowCross = *getRegisteredFeature("FlowCross"),
|
||||
featureCryptoConditionsSuite = *getRegisteredFeature("CryptoConditionsSuite"),
|
||||
fix1513 = *getRegisteredFeature("fix1513"),
|
||||
featureDepositAuth = *getRegisteredFeature("DepositAuth"),
|
||||
featureChecks = *getRegisteredFeature("Checks"),
|
||||
|
||||
Reference in New Issue
Block a user