Skip to content

Commit

Permalink
Fix potential bug with proposal propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
fcecin committed Nov 10, 2023
1 parent fd61028 commit 481b936
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/hotstuff/qc_chain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,7 @@ namespace eosio::hotstuff {
update(proposal);

//propagate this proposal since it was new to us
if (! am_i_leader())
send_hs_proposal_msg(connection_id, proposal);
send_hs_proposal_msg(connection_id, proposal);

for (auto &msg : msgs) {
send_hs_vote_msg( std::nullopt, msg );
Expand Down

0 comments on commit 481b936

Please sign in to comment.