-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a UI freeze on 'finished' witness accounts
There was a regression causing the UI to freeze in an infinite loop due to a zero account weight for the 'finished' account. Fix this in two seperate ways: 1) Use a fallback weight (if zero) so that any future bugs like this can't cause an infinite loop again 2) Remove the part of the code that was causing the regression - 'finished' accounts do still have a weight for 'UI' purposes, as this weight is used to populate the historical graphs Also clean up/clarify a few comments in the code around this.
- Loading branch information
Showing
3 changed files
with
7 additions
and
6 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