Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed May 24, 2024
1 parent 1e1547e commit b5f58df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nano/node/confirming_set.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "node.hpp"

#include <nano/lib/thread_roles.hpp>
#include <nano/node/confirming_set.hpp>
#include <nano/secure/ledger.hpp>
Expand Down Expand Up @@ -53,6 +51,8 @@ void nano::confirming_set::add (nano::block_hash const & hash)

void nano::confirming_set::start ()
{
debug_assert (!thread.joinable ());

thread = std::thread{ [this] () {
nano::thread_role::set (nano::thread_role::name::confirmation_height_processing);
run ();
Expand Down
2 changes: 1 addition & 1 deletion nano/slow_test/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ TEST (confirmation_height, many_accounts_send_receive_self_no_elections)

nano::block_hash block_hash_being_processed{ 0 };
nano::store::write_queue write_queue{ false };
nano::confirming_set confirming_set{ ledger };
nano::confirming_set confirming_set{ ledger, stats };

auto const num_accounts = 100000;

Expand Down

0 comments on commit b5f58df

Please sign in to comment.