Skip to content

Commit

Permalink
add a TODO warning
Browse files Browse the repository at this point in the history
  • Loading branch information
linh2931 committed Jan 17, 2024
1 parent 7977340 commit 447c773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,7 @@ struct controller_impl {
if( block_exts.count(quorum_certificate_extension::extension_id()) > 0 ) {
const auto& qc_ext = std::get<quorum_certificate_extension>(block_exts. lower_bound(quorum_certificate_extension::extension_id())->second);
auto last_qc_block_bsp = block_data.fork_db_fetch_bsp_by_num( qc_ext.qc.block_height );
#warning a mutex might be needed for updating valid_pc
last_qc_block_bsp->valid_qc = qc_ext.qc.qc;
}
}
Expand Down

0 comments on commit 447c773

Please sign in to comment.