Skip to content

Commit

Permalink
Fixed style
Browse files Browse the repository at this point in the history
  • Loading branch information
systemzax committed Sep 10, 2023
1 parent 81486ed commit b65b1d9
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions libraries/hotstuff/test/test_pacemaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ namespace eosio::hotstuff {
while (qc_itr != _qcc_store.end()){
const name & qcc_name = qc_itr->first;
std::shared_ptr<qc_chain> & qcc_ptr = qc_itr->second;
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ){
qcc_ptr->on_hs_proposal_msg(msg);
}
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ) qcc_ptr->on_hs_proposal_msg(msg);
qc_itr++;
}
}
Expand All @@ -191,9 +189,7 @@ namespace eosio::hotstuff {
while (qc_itr != _qcc_store.end()) {
const name & qcc_name = qc_itr->first;
std::shared_ptr<qc_chain> & qcc_ptr = qc_itr->second;
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ){
qcc_ptr->on_hs_vote_msg(msg);
}
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ) qcc_ptr->on_hs_vote_msg(msg);
qc_itr++;
}
}
Expand All @@ -203,9 +199,7 @@ namespace eosio::hotstuff {
while (qc_itr != _qcc_store.end()) {
const name & qcc_name = qc_itr->first;
std::shared_ptr<qc_chain> & qcc_ptr = qc_itr->second;
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ){
qcc_ptr->on_hs_new_block_msg(msg);
}
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ) qcc_ptr->on_hs_new_block_msg(msg);
qc_itr++;
}
}
Expand All @@ -215,9 +209,7 @@ namespace eosio::hotstuff {
while (qc_itr != _qcc_store.end()){
const name & qcc_name = qc_itr->first;
std::shared_ptr<qc_chain> & qcc_ptr = qc_itr->second;
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ){
qcc_ptr->on_hs_new_view_msg(msg);
}
if (qcc_ptr->get_id_i() != id && is_qc_chain_active(qcc_name) ) qcc_ptr->on_hs_new_view_msg(msg);
qc_itr++;
}
}
Expand Down

0 comments on commit b65b1d9

Please sign in to comment.