Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiencs committed Mar 26, 2024
1 parent 0ae7c92 commit bf090c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/block/genesis.rs
Expand Up @@ -145,7 +145,7 @@ fn consensus_state(
let is_genesis = if negative_one { 0 } else { 1 };
let (blockchain_length, global_slot_since_genesis) = match CONSTRAINT_CONSTANTS.fork.as_ref() {
None => (is_genesis, 0),
Some(fork) => (fork.previous_length + is_genesis, fork.previous_global_slot),
Some(fork) => (fork.previous_length + is_genesis, fork.genesis_slot),
};

v2::ConsensusProofOfStakeDataConsensusStateValueStableV2 {
Expand Down

0 comments on commit bf090c4

Please sign in to comment.