Skip to content

Commit 1d478bf

Browse files
committed
crc: fix nakamoto_last_block_of_cycle documentation, #5970
1 parent a1b434a commit 1d478bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/burnchains/burnchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ impl Burnchain {
580580

581581
#[cfg(any(test, feature = "testing"))]
582582
/// the last burn block that must be *signed* by the signer set of `reward_cycle`.
583-
/// this is the modulo 1 block
583+
/// this is the modulo -1 block
584584
pub fn nakamoto_last_block_of_cycle(&self, reward_cycle: u64) -> u64 {
585585
self.nakamoto_first_block_of_cycle(reward_cycle)
586586
+ self.pox_constants.reward_cycle_length as u64

0 commit comments

Comments
 (0)