diff --git a/src/ripple/app/main/Amendments.cpp b/src/ripple/app/main/Amendments.cpp index 893bae3dc2..e48133f3ba 100644 --- a/src/ripple/app/main/Amendments.cpp +++ b/src/ripple/app/main/Amendments.cpp @@ -49,7 +49,7 @@ supportedAmendments () { "740352F2412A9909880C23A559FCECEDA3BE2126FED62FC7660D628A06927F11 Flow" }, { "1562511F573A19AE9BD103B5D6B9E01B3B46805AEC5D3C4805C902B514399146 CryptoConditions" }, { "532651B4FD58DF8922A49BA101AB3E996E5BFBF95A913B3E392504863E63B164 TickSize" }, - { "67431BE4A5F355C45E36EED94B38DFACC1F111F547360F444642512CBC0E18E1 RIPD1368" }, + { "E2E6F2866106419B88C50045ACE96368558C345566AC8F2BDF5A5B5587F0E6FA fix1368" }, { "07D43DCE529B15A10827E5E04943B496762F9A88E3268269D69C44BE49E21104 Escrow" }, { "86E83A7D2ECE3AD5FA87AB2195AE015C950469ABF0B72EAACED318F74886AE90 CryptoConditionsSuite" } }; diff --git a/src/ripple/ledger/impl/PaymentSandbox.cpp b/src/ripple/ledger/impl/PaymentSandbox.cpp index 569e0d7f89..776d8f891b 100644 --- a/src/ripple/ledger/impl/PaymentSandbox.cpp +++ b/src/ripple/ledger/impl/PaymentSandbox.cpp @@ -199,7 +199,7 @@ PaymentSandbox::balanceHook (AccountID const& account, } } 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 // some circumstances, it is possible for the deferred credits table diff --git a/src/ripple/protocol/Feature.h b/src/ripple/protocol/Feature.h index 107933b708..3d8d9312c9 100644 --- a/src/ripple/protocol/Feature.h +++ b/src/ripple/protocol/Feature.h @@ -45,7 +45,7 @@ extern uint256 const featurePayChan; extern uint256 const featureFlow; extern uint256 const featureCryptoConditions; extern uint256 const featureTickSize; -extern uint256 const featureRIPD1368; +extern uint256 const fix1368; extern uint256 const featureEscrow; extern uint256 const featureCryptoConditionsSuite; diff --git a/src/ripple/protocol/impl/Feature.cpp b/src/ripple/protocol/impl/Feature.cpp index 87ab127c63..ef8a84c9b1 100644 --- a/src/ripple/protocol/impl/Feature.cpp +++ b/src/ripple/protocol/impl/Feature.cpp @@ -56,7 +56,7 @@ uint256 const featurePayChan = feature("PayChan"); uint256 const featureFlow = feature("Flow"); uint256 const featureCryptoConditions = feature("CryptoConditions"); uint256 const featureTickSize = feature("TickSize"); -uint256 const featureRIPD1368 = feature("RIPD1368"); +uint256 const fix1368 = feature("fix1368"); uint256 const featureEscrow = feature("Escrow"); uint256 const featureCryptoConditionsSuite = feature("CryptoConditionsSuite"); diff --git a/src/test/app/Flow_test.cpp b/src/test/app/Flow_test.cpp index 90c6f298eb..2098b89bdc 100644 --- a/src/test/app/Flow_test.cpp +++ b/src/test/app/Flow_test.cpp @@ -1449,7 +1449,7 @@ struct Flow_test : public beast::unit_test::suite testSelfFundedXRPEndpoint(true); testUnfundedOffer(true); testUnfundedOffer(false); - testReexecuteDirectStep(featureFlow, featureRIPD1368); + testReexecuteDirectStep(featureFlow, fix1368); } };