diff --git a/nano/core_test/election_scheduler.cpp b/nano/core_test/election_scheduler.cpp index 80ed6e82c2..cfcbc11ec4 100644 --- a/nano/core_test/election_scheduler.cpp +++ b/nano/core_test/election_scheduler.cpp @@ -119,7 +119,8 @@ TEST (election_scheduler, no_vacancy) ASSERT_TRUE (node.active.election (block2->qualified_root ()) == nullptr); // Election completed, next in queue should begin - election->force_confirm (); + // election->force_confirm (); + node.process_confirmed (nano::election_status{ block1 }); ASSERT_TIMELY (5s, node.active.election (block2->qualified_root ()) != nullptr); ASSERT_TRUE (node.scheduler.empty ()); }