From 481b936cf9de29e3a3ea59baad4503f239aaeb15 Mon Sep 17 00:00:00 2001 From: fcecin Date: Fri, 10 Nov 2023 13:36:04 -0300 Subject: [PATCH] Fix potential bug with proposal propagation --- libraries/hotstuff/qc_chain.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/hotstuff/qc_chain.cpp b/libraries/hotstuff/qc_chain.cpp index 17e94e6485..92eda18f96 100644 --- a/libraries/hotstuff/qc_chain.cpp +++ b/libraries/hotstuff/qc_chain.cpp @@ -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 );