mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Remove conditionals for featurePayChan enabled 31Mar2017
This commit is contained in:
@@ -173,9 +173,6 @@ closeChannel (
|
||||
NotTEC
|
||||
PayChanCreate::preflight (PreflightContext const& ctx)
|
||||
{
|
||||
if (!ctx.rules.enabled (featurePayChan))
|
||||
return temDISABLED;
|
||||
|
||||
if (ctx.rules.enabled(fix1543) && ctx.tx.getFlags() & tfUniversalMask)
|
||||
return temINVALID_FLAG;
|
||||
|
||||
@@ -296,9 +293,6 @@ PayChanCreate::doApply()
|
||||
NotTEC
|
||||
PayChanFund::preflight (PreflightContext const& ctx)
|
||||
{
|
||||
if (!ctx.rules.enabled (featurePayChan))
|
||||
return temDISABLED;
|
||||
|
||||
if (ctx.rules.enabled(fix1543) && ctx.tx.getFlags() & tfUniversalMask)
|
||||
return temINVALID_FLAG;
|
||||
|
||||
@@ -390,9 +384,6 @@ PayChanFund::doApply()
|
||||
NotTEC
|
||||
PayChanClaim::preflight (PreflightContext const& ctx)
|
||||
{
|
||||
if (! ctx.rules.enabled(featurePayChan))
|
||||
return temDISABLED;
|
||||
|
||||
// A search through historic MainNet ledgers by the data team found no
|
||||
// occurrences of a transaction with the error that fix1512 fixed. That
|
||||
// means there are no old transactions with that error that we might
|
||||
|
||||
@@ -365,7 +365,7 @@ foreachFeature(FeatureBitset bs, F&& f)
|
||||
|
||||
extern uint256 const featureTickets;
|
||||
extern uint256 const featureOwnerPaysFee;
|
||||
extern uint256 const featurePayChan;
|
||||
extern uint256 const retiredPayChan;
|
||||
extern uint256 const featureFlow;
|
||||
extern uint256 const featureCompareTakerFlowCross;
|
||||
extern uint256 const featureFlowCross;
|
||||
|
||||
@@ -156,7 +156,7 @@ uint256 bitsetIndexToFeature(size_t i)
|
||||
|
||||
uint256 const featureTickets = *getRegisteredFeature("Tickets");
|
||||
uint256 const featureOwnerPaysFee = *getRegisteredFeature("OwnerPaysFee");
|
||||
uint256 const featurePayChan = *getRegisteredFeature("PayChan");
|
||||
uint256 const retiredPayChan = *getRegisteredFeature("PayChan");
|
||||
uint256 const featureFlow = *getRegisteredFeature("Flow");
|
||||
uint256 const featureCompareTakerFlowCross = *getRegisteredFeature("CompareTakerFlowCross");
|
||||
uint256 const featureFlowCross = *getRegisteredFeature("FlowCross");
|
||||
|
||||
Reference in New Issue
Block a user