Change placeholder "fixNumberStuff" to "fixCleanup3_3_0"

This commit is contained in:
Ed Hennis
2026-06-11 22:02:50 -04:00
parent 764be7f20f
commit 29d017c2a3
2 changed files with 2 additions and 4 deletions

View File

@@ -15,8 +15,6 @@
// Add new amendments to the top of this list.
// Keep it sorted in reverse chronological order.
// The name "NumberStuff" is a placeholder
XRPL_FIX (NumberStuff, Supported::Yes, VoteBehavior::DefaultNo)
XRPL_FIX (Cleanup3_3_0, Supported::Yes, VoteBehavior::DefaultNo)
XRPL_FIX (Cleanup3_2_0, Supported::Yes, VoteBehavior::DefaultNo)
XRPL_FEATURE(MPTokensV2, Supported::No, VoteBehavior::DefaultNo)

View File

@@ -46,7 +46,7 @@ setCurrentTransactionRules(std::optional<Rules> r)
bool const enableVaultNumbers =
!r || (r->enabled(featureSingleAssetVault) || r->enabled(featureLendingProtocol));
bool const enableCuspRounding320 = !r || r->enabled(fixCleanup3_2_0);
bool const enableCuspRounding330 = !r || r->enabled(fixNumberStuff);
bool const enableCuspRounding330 = !r || r->enabled(fixCleanup3_3_0);
XRPL_ASSERT(
!r ||
useRulesGuards(*r) ==
@@ -83,7 +83,7 @@ useRulesGuards(Rules const& rules)
// with createGuards, and any other callers, and the first set of guards can be created directly
// at the call site, without using optional.
return rules.enabled(featureSingleAssetVault) || rules.enabled(featureLendingProtocol) ||
rules.enabled(fixCleanup3_2_0) || rules.enabled(fixNumberStuff);
rules.enabled(fixCleanup3_2_0) || rules.enabled(fixCleanup3_3_0);
}
void