We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b434a commit 1d478bfCopy full SHA for 1d478bf
stackslib/src/burnchains/burnchain.rs
@@ -580,7 +580,7 @@ impl Burnchain {
580
581
#[cfg(any(test, feature = "testing"))]
582
/// the last burn block that must be *signed* by the signer set of `reward_cycle`.
583
- /// this is the modulo 1 block
+ /// this is the modulo -1 block
584
pub fn nakamoto_last_block_of_cycle(&self, reward_cycle: u64) -> u64 {
585
self.nakamoto_first_block_of_cycle(reward_cycle)
586
+ self.pox_constants.reward_cycle_length as u64
0 commit comments