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

Prevent duplicate remove vote #805

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

aguycalled
Copy link
Member

When a staker removed a vote for a proposal or payment request, it keeps broadcasting the remove vote in every block instead of using the cache and broadcasting it only in one block.

Example: https://www.navexplorer.com/block/4987836

This PR fixes the behavior.

@navbuilder
Copy link

A new build of 71dcc27 has completed succesfully!
Binaries available at https://build.nav.community/binaries/prevent-duplicate-remove-vote

Copy link
Contributor

@chasingkirkjufell chasingkirkjufell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested gitian build in Windows 10

@mxaddict mxaddict merged commit a3ee5db into navcoin:master Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants