Skip to content

Commit 0acce4c

Browse files
authored
Correct cache validity comment in Includer
1 parent 090f0dd commit 0acce4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timeboost-sequencer/src/include.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl Includer {
227227
.0)
228228
}
229229

230-
/// Check if the cache is valid, i.e. ends with at least 8 consecutive rounds.
230+
/// Check if the cache is valid, i.e. contains at least 8 recent rounds (not necessarily consecutive).
231231
fn is_valid_cache(&self) -> bool {
232232
self.cache.len() >= CACHE_SIZE
233233
}

0 commit comments

Comments
 (0)