Skip to content

Commit 6bd7cb4

Browse files
authored
Merge pull request #517 from sashass1315/main
Correct cache validity comment in Includer
2 parents 4752437 + cbffd8f commit 6bd7cb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

timeboost-sequencer/src/include.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ 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
231+
/// consecutive).
231232
fn is_valid_cache(&self) -> bool {
232233
self.cache.len() >= CACHE_SIZE
233234
}

0 commit comments

Comments
 (0)