Skip to content

Commit

Permalink
Review fixes 4
Browse files Browse the repository at this point in the history
  • Loading branch information
oleks-rip committed Feb 10, 2025
1 parent 6a40ef4 commit feff79f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/xrpl/protocol/detail/features.macro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// in include/xrpl/protocol/Feature.h.

// Check flags in Credential transactions
XRPL_FIX (TransactionFlags, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FIX (InvalidTxFlags, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FIX (FrozenLPTokenTransfer, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FEATURE(DeepFreeze, Supported::yes, VoteBehavior::DefaultNo)
XRPL_FEATURE(PermissionedDomains, Supported::no, VoteBehavior::DefaultNo)
Expand Down
4 changes: 2 additions & 2 deletions src/test/app/Credentials_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ struct Credentials_test : public beast::unit_test::suite
{
using namespace test::jtx;

bool const enabled = features[fixTransactionFlags];
bool const enabled = features[fixInvalidTxFlags];
testcase(
std::string("Test flag, fix ") +
(enabled ? "enabled" : "disabled"));
Expand Down Expand Up @@ -1106,7 +1106,7 @@ struct Credentials_test : public beast::unit_test::suite
testAcceptFailed(all);
testDeleteFailed(all);
testFeatureFailed(all - featureCredentials);
testFlags(all - fixTransactionFlags);
testFlags(all - fixInvalidTxFlags);
testFlags(all);
testRPC();
}
Expand Down

0 comments on commit feff79f

Please sign in to comment.