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

chore: fix incorrect error log in rewards distribution #2345

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

mfrankovi
Copy link
Contributor

When TotalVotesWeight was equal to twoTPlusOne a incorrect error log is logged, for instance on testnet this is often logged: "DistributeRewards - TotalVotesWeight (667) is smaller than two twoTPlusOne (667)

Distribution was actually ok since even when this was logged, bonusVotesWeight had the default value of 0 which is correct value for this case.

@mfrankovi mfrankovi merged commit 9971877 into develop Feb 27, 2023
@mfrankovi mfrankovi deleted the fix_err_log branch February 27, 2023 08:32
@taraxadeploy
Copy link
Collaborator

prnet cleaned-up successfully

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.

4 participants