Skip to content

Commit

Permalink
GH-1980 Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 12, 2024
1 parent 2c98018 commit e896105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ block_header_state block_header_state::next(block_header_state_input& input) con
*/
block_header_state block_header_state::next(const signed_block_header& h, const protocol_feature_set& pfs,
validator_t& validator) const {
auto producer = detail::get_scheduled_producer(proposer_policy->proposer_schedule.producers, h.timestamp).producer_name;
auto producer = detail::get_scheduled_producer(active_proposer_policy->proposer_schedule.producers, h.timestamp).producer_name;

EOS_ASSERT( h.previous == id, unlinkable_block_exception, "previous mismatch" );
EOS_ASSERT( h.producer == producer, wrong_producer, "wrong producer specified" );
Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ struct pending_state {
_db_session.push();
}

//bool is_dpos() const { return std::visit([](const auto& stage) { return stage.is_dpos(); }, _block_stage); }
bool is_dpos() const { return std::visit([](const auto& stage) { return stage.is_dpos(); }, _block_stage); }

const block_signing_authority& pending_block_signing_authority() const {
return std::visit(
Expand Down

0 comments on commit e896105

Please sign in to comment.