Skip to content

Commit

Permalink
GH-1541 minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Aug 28, 2023
1 parent dba1f3a commit cb8bc49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,7 @@ struct controller_impl {
emit( self.new_hs_new_block_message, msg );
}

void set_finalizers_impl(const finalizer_set fin_set) {
void set_finalizers_impl(const finalizer_set& fin_set) {
// TODO store in chainbase
current_finalizer_set = fin_set;
}
Expand Down
2 changes: 1 addition & 1 deletion libraries/hotstuff/chain_pacemaker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ namespace eosio { namespace hotstuff {
std::unique_lock g( _chain_state_mutex );
block_timestamp_type next_block_time = _head_block_state->header.timestamp.next();
producer_authority p_auth = _head_block_state->get_scheduled_producer(next_block_time);
name n = p_auth.producer_name;
g.unlock();
name n = p_auth.producer_name;

// FIXME/REMOVE: testing leader/proposer separation
n = debug_leader_remap(n);
Expand Down

0 comments on commit cb8bc49

Please sign in to comment.