Apply suggestions from Copilot code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ed Hennis
2026-05-20 18:39:46 -04:00
committed by GitHub
parent 71cf996fc6
commit 8b56749ca3
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ setCurrentTransactionRules(std::optional<Rules> r)
// mantissas even in the absence of the other two amendments.
//
// If any new conditions with new amendments are added, those amendments must also be added to
// createGuards.
// useRulesGuards.
bool const enableCuspRoundingFix = !r || r->enabled(fixCleanup3_2_0);
bool const enableVaultNumbers = enableCuspRoundingFix ||
(r->enabled(featureSingleAssetVault) || r->enabled(featureLendingProtocol));