Rename amendment featureRIPD1368 -> fix1368

This commit is contained in:
seelabs
2017-03-07 15:20:33 -05:00
parent 112a863e73
commit f423181b94
5 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ supportedAmendments ()
{ "740352F2412A9909880C23A559FCECEDA3BE2126FED62FC7660D628A06927F11 Flow" }, { "740352F2412A9909880C23A559FCECEDA3BE2126FED62FC7660D628A06927F11 Flow" },
{ "1562511F573A19AE9BD103B5D6B9E01B3B46805AEC5D3C4805C902B514399146 CryptoConditions" }, { "1562511F573A19AE9BD103B5D6B9E01B3B46805AEC5D3C4805C902B514399146 CryptoConditions" },
{ "532651B4FD58DF8922A49BA101AB3E996E5BFBF95A913B3E392504863E63B164 TickSize" }, { "532651B4FD58DF8922A49BA101AB3E996E5BFBF95A913B3E392504863E63B164 TickSize" },
{ "67431BE4A5F355C45E36EED94B38DFACC1F111F547360F444642512CBC0E18E1 RIPD1368" }, { "E2E6F2866106419B88C50045ACE96368558C345566AC8F2BDF5A5B5587F0E6FA fix1368" },
{ "07D43DCE529B15A10827E5E04943B496762F9A88E3268269D69C44BE49E21104 Escrow" }, { "07D43DCE529B15A10827E5E04943B496762F9A88E3268269D69C44BE49E21104 Escrow" },
{ "86E83A7D2ECE3AD5FA87AB2195AE015C950469ABF0B72EAACED318F74886AE90 CryptoConditionsSuite" } { "86E83A7D2ECE3AD5FA87AB2195AE015C950469ABF0B72EAACED318F74886AE90 CryptoConditionsSuite" }
}; };

View File

@@ -199,7 +199,7 @@ PaymentSandbox::balanceHook (AccountID const& account,
} }
} }
adjustedAmt = std::min(amount, lastBal - delta); adjustedAmt = std::min(amount, lastBal - delta);
if (rules().enabled(featureRIPD1368)) if (rules().enabled(fix1368))
{ {
// The adjusted amount should never be larger than the balance. In // The adjusted amount should never be larger than the balance. In
// some circumstances, it is possible for the deferred credits table // some circumstances, it is possible for the deferred credits table

View File

@@ -45,7 +45,7 @@ extern uint256 const featurePayChan;
extern uint256 const featureFlow; extern uint256 const featureFlow;
extern uint256 const featureCryptoConditions; extern uint256 const featureCryptoConditions;
extern uint256 const featureTickSize; extern uint256 const featureTickSize;
extern uint256 const featureRIPD1368; extern uint256 const fix1368;
extern uint256 const featureEscrow; extern uint256 const featureEscrow;
extern uint256 const featureCryptoConditionsSuite; extern uint256 const featureCryptoConditionsSuite;

View File

@@ -56,7 +56,7 @@ uint256 const featurePayChan = feature("PayChan");
uint256 const featureFlow = feature("Flow"); uint256 const featureFlow = feature("Flow");
uint256 const featureCryptoConditions = feature("CryptoConditions"); uint256 const featureCryptoConditions = feature("CryptoConditions");
uint256 const featureTickSize = feature("TickSize"); uint256 const featureTickSize = feature("TickSize");
uint256 const featureRIPD1368 = feature("RIPD1368"); uint256 const fix1368 = feature("fix1368");
uint256 const featureEscrow = feature("Escrow"); uint256 const featureEscrow = feature("Escrow");
uint256 const featureCryptoConditionsSuite = feature("CryptoConditionsSuite"); uint256 const featureCryptoConditionsSuite = feature("CryptoConditionsSuite");

View File

@@ -1449,7 +1449,7 @@ struct Flow_test : public beast::unit_test::suite
testSelfFundedXRPEndpoint(true); testSelfFundedXRPEndpoint(true);
testUnfundedOffer(true); testUnfundedOffer(true);
testUnfundedOffer(false); testUnfundedOffer(false);
testReexecuteDirectStep(featureFlow, featureRIPD1368); testReexecuteDirectStep(featureFlow, fix1368);
} }
}; };