mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Bump alloy to 0.8.0 (#13268)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -42,7 +42,7 @@ impl InvalidHeaderCache {
|
||||
let entry = self.headers.get(hash)?;
|
||||
entry.hit_count += 1;
|
||||
if entry.hit_count < INVALID_HEADER_HIT_EVICTION_THRESHOLD {
|
||||
return Some(entry.header.clone())
|
||||
return Some(entry.header)
|
||||
}
|
||||
}
|
||||
// if we get here, the entry has been hit too many times, so we evict it
|
||||
|
||||
Reference in New Issue
Block a user