-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve code-quality and doc for democracy pallet (#389)
* [democracy] add minor docs * [democracy] add more doc * [democracy] refactor positive turnout function * [democracy] fix potential panic * [democracy] improve code readability * [democracy] improve code readability * fmt * [democracy] refactor `relevant_cindexes` * [democracy] rename `relevant_cindexes` to `voting_cindexes` * [democracy] add doc to `voting_cindexes` * [democracy] add boundary note for the `ProposalLifetime` * [democracy] fmt * [democracy] minor fixes * [democracy] better wording
- Loading branch information
Showing
2 changed files
with
118 additions
and
88 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
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