Skip to content

Commit

Permalink
Merge pull request #2933 from Taraxa-project/issue-2932/voting
Browse files Browse the repository at this point in the history
do not require full block data before soft voting
  • Loading branch information
JakubFornadel authored Jan 21, 2025
2 parents d8307f1 + bd73851 commit 4a16009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/core_libs/consensus/src/pbft/pbft_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1380,9 +1380,9 @@ std::shared_ptr<PbftBlock> PbftManager::identifyLeaderBlock_(PbftRound round, Pb
continue;
}

auto leader_block = getValidPbftProposedBlock(leader_vote.second->getPeriod(), proposed_block_hash);
auto leader_block = getPbftProposedBlock(leader_vote.second->getPeriod(), proposed_block_hash);
if (!leader_block) {
LOG(log_er_) << "Unable to get valid proposed block " << proposed_block_hash;
LOG(log_er_) << "Unable to get proposed block " << proposed_block_hash;
continue;
}

Expand Down

0 comments on commit 4a16009

Please sign in to comment.