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: use correct round when checking reward votes #2316

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

JakubFornadel
Copy link
Collaborator

@JakubFornadel JakubFornadel commented Feb 13, 2023

Purpose

I added bunch of log messages, but the actual fix is 1 liner:

const auto tmp_reward_votes = getRewardVotes(round_it, reward_votes_hashes, reward_votes_block_hash_, copy_votes);

inestad of:
const auto tmp_reward_votes = getRewardVotes(found_round_it, reward_votes_hashes, reward_votes_block_hash_, copy_votes);

How does the solution address the problem

Changes made

@JakubFornadel JakubFornadel merged commit a531356 into testnet Feb 13, 2023
@JakubFornadel JakubFornadel deleted the fix_reward_votes_round branch February 13, 2023 10:37
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