Skip to content

Commit

Permalink
GH-1980 Copy over active policies
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jan 12, 2024
1 parent a3c7628 commit 8e3dca2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ block_header_state block_header_state::next(block_header_state_input& input) con
.schedule_version = header.schedule_version
};

result.active_finalizer_policy = active_finalizer_policy;
result.active_proposer_policy = active_proposer_policy;

if(!proposer_policies.empty()) {
auto it = proposer_policies.begin();
if (it->first <= input.timestamp) {
Expand Down

0 comments on commit 8e3dca2

Please sign in to comment.