Skip to content

Commit

Permalink
GH-3 Remove unneeded if
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 18, 2024
1 parent d80def5 commit 317dd61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3573,9 +3573,7 @@ struct controller_impl {

// called from net threads and controller's thread pool
void process_vote_message( uint32_t connection_id, const vote_message_ptr& vote ) {
if (conf.vote_thread_pool_size > 0) {
vote_processor.process_vote_message(connection_id, vote);
}
vote_processor.process_vote_message(connection_id, vote);
}

bool node_has_voted_if_finalizer(const block_id_type& id) const {
Expand Down

0 comments on commit 317dd61

Please sign in to comment.