Skip to content

Commit 2f64e1f

Browse files
committed
chore: update comment
1 parent 476f47f commit 2f64e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pox-locking/src/events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn create_event_info_data_code(
116116
// If a given burn block height is in a prepare phase, then the stacker will be in the _next_ reward cycle, so bump the cycle by 1
117117
// `prepare_offset` is 1 or 0, depending on whether current execution is in a prepare phase or not
118118
//
119-
// "is-in-next-pox-set" == effective-height < (reward-length - prepare-length)
119+
// "is-in-next-pox-set" == effective-height < (cycle-length - prepare-length)
120120
// "<" since the txs of the first block of the prepare phase are NOT considered in the pox-set,
121121
// the pox-set is locked in the first block of the prepare phase, before the transactions of that block are run.
122122
let pox_set_offset = r#"

0 commit comments

Comments
 (0)