-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(nns): Move recompute_tally to inside of cast_vote_and_cascad…
…e_follow (#2977) This removes a difficult edge case of trying to determine when to re-tally. We know that any votes cast in cast_vote_and_cascade_follow are either when a proposal is created, or when register_vote is called, which makes sure the vote cast is cast while the proposal voting is still open. This helps later when votes can be processed across multiple messages.
- Loading branch information
1 parent
bed178d
commit 6e5283d
Showing
3 changed files
with
71 additions
and
36 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
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