From d297bcbd586c95fd829af5a590f7da2867e0d9b6 Mon Sep 17 00:00:00 2001 From: Nikos Baxevanis Date: Tue, 5 Dec 2023 17:14:06 +0100 Subject: [PATCH] cleanup: Remove obsolete cycle calculation code for versions 2 and 3 --- stackslib/src/chainstate/stacks/boot/pox_4_tests.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stackslib/src/chainstate/stacks/boot/pox_4_tests.rs b/stackslib/src/chainstate/stacks/boot/pox_4_tests.rs index cd039f1c593..78e0af60d8e 100644 --- a/stackslib/src/chainstate/stacks/boot/pox_4_tests.rs +++ b/stackslib/src/chainstate/stacks/boot/pox_4_tests.rs @@ -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()