diff --git a/nano/node/election.cpp b/nano/node/election.cpp index 40f1f2b8..8e4854db 100644 --- a/nano/node/election.cpp +++ b/nano/node/election.cpp @@ -63,7 +63,7 @@ void nano::election::confirm_once (nano::unique_lock & lock_a) lock_a.unlock (); - node.background ([node_l = node.shared (), status_l, confirmation_action_l = confirmation_action] () { + node.workers.push_task ([node_l = node.shared (), status_l, confirmation_action_l = confirmation_action] () { node_l->process_confirmed (status_l); if (confirmation_action_l)