Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(consensus): not increase the voting power on duplicated binary votes #762

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

themantre
Copy link
Contributor

Description

This PR fixes a bug in Binary votes where double votes could increase the voting power.

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #762 (ec52426) into main (4359afc) will increase coverage by 0.13%.
Report is 1 commits behind head on main.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main     #762      +/-   ##
==========================================
+ Coverage   82.75%   82.88%   +0.13%     
==========================================
  Files         173      173              
  Lines        8049     8058       +9     
==========================================
+ Hits         6661     6679      +18     
+ Misses       1066     1059       -7     
+ Partials      322      320       -2     

@amirvalhalla amirvalhalla self-requested a review October 20, 2023 18:21
@amirvalhalla amirvalhalla merged commit 11299c6 into main Oct 20, 2023
12 checks passed
@amirvalhalla amirvalhalla deleted the duplicated-binary-votes branch October 20, 2023 18:24
@themantre themantre restored the duplicated-binary-votes branch October 21, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants