Change XChainBridge amendment to Supported::yes (#4709)

This commit is contained in:
Scott Determan
2023-09-15 11:08:17 -04:00
committed by tequ
parent d5b6c63a80
commit 49d2c731f7
2 changed files with 2 additions and 2 deletions

View File

@@ -478,7 +478,7 @@ REGISTER_FIX (fixRewardClaimFlags, 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.

View File

@@ -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));
}