Skip to content

Commit

Permalink
Always publish election winner block
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Nov 13, 2023
1 parent d19f013 commit 4c8832a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/election.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ bool nano::election::transition_time (nano::confirmation_solicitor & solicitor_a
break;
case nano::election::state_t::confirmed:
result = true; // Return true to indicate this election should be cleaned up
broadcast_block (solicitor_a); // Ensure election winner is broadcasted
state_change (nano::election::state_t::confirmed, nano::election::state_t::expired_confirmed);
break;
case nano::election::state_t::expired_unconfirmed:
Expand Down

0 comments on commit 4c8832a

Please sign in to comment.