-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix half principal rep check (#3358)
* Check for half principal even if the account is a duplicate An account might be added that is not a half principal but might become a half principal later. So we should check for half principal every time. * Use have_half_rep() function rather than access variables directly * Convert half_principal counter to boolean The counting of half principals without tracking what is counted is unreliable. Fortunately, we only care about whether a half principal exists or not. So therefore convert the counter to a boolean so that the counter does not get used when it is wrong.
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 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