Skip to content

Commit

Permalink
GH-1523 Start dpos at 1 so 0 can be flag that hs is activated
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Sep 8, 2023
1 parent 5ede17a commit 417185e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/chain/include/eosio/chain/block_header_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ struct block_header_state;

namespace detail {
struct block_header_state_common {
uint32_t block_num = 0;
uint32_t dpos_proposed_irreversible_blocknum = 0;
uint32_t dpos_irreversible_blocknum = 0;
uint32_t block_num = 1;
uint32_t dpos_proposed_irreversible_blocknum = 1;
uint32_t dpos_irreversible_blocknum = 1;
producer_authority_schedule active_schedule;
uint32_t last_proposed_finalizer_set_generation = 0; // TODO: Add to snapshot_block_header_state_v3
incremental_merkle blockroot_merkle;
Expand Down

0 comments on commit 417185e

Please sign in to comment.