-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockchain: Consolidate active agenda detection.
This consolidates the logic which determines if an agenda that only has a single choice that is selected when it is active for a given block hash into a single function. This helps ensure consistent enforcement and slightly simplifies adding detection for new agendas.
- Loading branch information
Showing
1 changed file
with
50 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters