Skip to content

Commit

Permalink
cleanup: Remove obsolete cycle calculation code for versions 2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
moodmosaic committed Dec 5, 2023
1 parent c3d4723 commit d297bcb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stackslib/src/chainstate/stacks/boot/pox_4_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3379,16 +3379,6 @@ fn get_pox_addrs() {
);
burnchain.pox_constants = pox_constants.clone();

let first_v2_cycle = burnchain
.block_height_to_reward_cycle(burnchain.pox_constants.v1_unlock_height as u64)
.unwrap()
+ 1;

let first_v3_cycle = burnchain
.block_height_to_reward_cycle(burnchain.pox_constants.pox_3_activation_height as u64)
.unwrap()
+ 1;

let first_v4_cycle = burnchain
.block_height_to_reward_cycle(burnchain.pox_constants.pox_4_activation_height as u64)
.unwrap()
Expand Down

0 comments on commit d297bcb

Please sign in to comment.