Skip to content

Commit

Permalink
fix grandpa catchup (#2113)
Browse files Browse the repository at this point in the history
  • Loading branch information
turuslan authored May 24, 2024
1 parent 7c23909 commit 71d8161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/consensus/grandpa/impl/grandpa_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ namespace kagome::consensus::grandpa {
}

GrandpaContext grandpa_context;
VotingRoundUpdate update{*current_round_, grandpa_context};
VotingRoundUpdate update{*round, grandpa_context};
for (auto &vote : msg.prevote_justification) {
update.vote(vote);
}
Expand Down

0 comments on commit 71d8161

Please sign in to comment.