Skip to content

Commit

Permalink
Change XChainBridge amendment to Supported::yes (XRPLF#4709)
Browse files Browse the repository at this point in the history
  • Loading branch information
seelabs authored and sophiax851 committed Jun 12, 2024
1 parent a52be80 commit 319ee0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ripple/protocol/impl/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ REGISTER_FIX (fixNFTokenRemint, Supported::yes, VoteBehavior::De
REGISTER_FIX (fixReducedOffersV1, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(Clawback, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(AMM, Supported::yes, VoteBehavior::DefaultNo);
REGISTER_FEATURE(XChainBridge, Supported::no, VoteBehavior::DefaultNo);
REGISTER_FEATURE(XChainBridge, Supported::yes, VoteBehavior::DefaultNo);

// The following amendments are obsolete, but must remain supported
// because they could potentially get enabled.
Expand Down
2 changes: 1 addition & 1 deletion src/test/app/XChain_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ struct XChain_test : public beast::unit_test::suite,
// coverage test: BridgeCreate::preflight() - create bridge when feature
// disabled.
{
Env env(*this);
Env env(*this, supported_amendments() - featureXChainBridge);
env(create_bridge(Account::master, jvb), ter(temDISABLED));
}

Expand Down

0 comments on commit 319ee0c

Please sign in to comment.