mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 09:46:53 +00:00
change amendment name
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
// Add new amendments to the top of this list.
|
||||
// Keep it sorted in reverse chronological order.
|
||||
|
||||
XRPL_FIX (TokenEscrowV2, Supported::yes, VoteBehavior::DefaultNo)
|
||||
XRPL_FIX (TokenEscrowV1_1, Supported::yes, VoteBehavior::DefaultNo)
|
||||
XRPL_FEATURE(LendingProtocol, Supported::no, VoteBehavior::DefaultNo)
|
||||
XRPL_FEATURE(PermissionDelegationV1_1, Supported::no, VoteBehavior::DefaultNo)
|
||||
XRPL_FIX (DirectoryLimit, Supported::yes, VoteBehavior::DefaultNo)
|
||||
|
||||
@@ -937,7 +937,7 @@ struct EscrowToken_test : public beast::unit_test::suite
|
||||
|
||||
// Alice cancels her own escrow
|
||||
auto const expectedResult =
|
||||
env.current()->rules().enabled(fixTokenEscrowV2)
|
||||
env.current()->rules().enabled(fixTokenEscrowV1_1)
|
||||
? ter(tesSUCCESS)
|
||||
: ter(tefEXCEPTION);
|
||||
env(escrow::cancel(alice, alice, seq),
|
||||
@@ -945,7 +945,7 @@ struct EscrowToken_test : public beast::unit_test::suite
|
||||
expectedResult);
|
||||
env.close();
|
||||
|
||||
if (env.current()->rules().enabled(fixTokenEscrowV2))
|
||||
if (env.current()->rules().enabled(fixTokenEscrowV1_1))
|
||||
{
|
||||
// Verify the escrow was deleted
|
||||
BEAST_EXPECT(!env.le(keylet::escrow(alice.id(), seq)));
|
||||
@@ -4086,7 +4086,7 @@ public:
|
||||
using namespace test::jtx;
|
||||
FeatureBitset const all{testable_amendments()};
|
||||
testIOUWithFeats(all);
|
||||
testIOUWithFeats(all - fixTokenEscrowV2);
|
||||
testIOUWithFeats(all - fixTokenEscrowV1_1);
|
||||
testMPTWithFeats(all);
|
||||
testMPTWithFeats(all - fixTokenEscrowV1);
|
||||
}
|
||||
|
||||
@@ -1285,10 +1285,10 @@ EscrowCancel::doApply()
|
||||
return escrowUnlockApplyHelper<T>(
|
||||
ctx_.view(),
|
||||
parityRate,
|
||||
// fixTokenEscrowV2: Pass account SLE instead of escrow
|
||||
// SLE
|
||||
ctx_.view().rules().enabled(fixTokenEscrowV2) ? sle
|
||||
: slep,
|
||||
// fixTokenEscrowV1_1: Pass account SLE instead of
|
||||
// escrow SLE
|
||||
ctx_.view().rules().enabled(fixTokenEscrowV1_1) ? sle
|
||||
: slep,
|
||||
mPriorBalance,
|
||||
amount,
|
||||
issuer,
|
||||
|
||||
Reference in New Issue
Block a user