Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Sep 25, 2023
1 parent f59dea3 commit b3c9407
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -66,9 +66,9 @@ impl CommandContext {
.epoch
.map(|epoch| self.consensus_rules.epoch_to_block_height(epoch))
.unwrap_or_else(|| metadata.height_of_longest_chain());
let current_epoch = constants.block_height_to_epoch(height);
let current_epoch = self.consensus_rules.block_height_to_epoch(height);
let next_epoch = VnEpoch(current_epoch.as_u64() + 1);
let next_epoch_height = constants.epoch_to_block_height(next_epoch);
let next_epoch_height = self.consensus_rules.epoch_to_block_height(next_epoch);
let vns = self.blockchain_db.fetch_active_validator_nodes(height).await?;
let next_vns = self
.blockchain_db
Expand Down

0 comments on commit b3c9407

Please sign in to comment.