Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Feb 6, 2024
1 parent 314f5b7 commit e97a9ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unittests/api_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3921,7 +3921,7 @@ void test_finality_transition(const vector<account_name>& accounts, const base_t
validating_tester t;

uint32_t lib = 0;
t.control->irreversible_block.connect([&](const block_signal_params& t) {
t.control->irreversible_block().connect([&](const block_signal_params& t) {
const auto& [ block, id ] = t;
lib = block->block_num();
});
Expand Down
2 changes: 1 addition & 1 deletion unittests/producer_schedule_if_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BOOST_FIXTURE_TEST_CASE( verify_producer_schedule_after_instant_finality_activat
};

uint32_t lib = 0;
control->irreversible_block.connect([&](const block_signal_params& t) {
control->irreversible_block().connect([&](const block_signal_params& t) {
const auto& [ block, id ] = t;
lib = block->block_num();
});
Expand Down

0 comments on commit e97a9ff

Please sign in to comment.