mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-01 14:06:10 +00:00
errors
This commit is contained in:
parent
7ad3f717b4
commit
260497b9bf
@ -119,7 +119,7 @@ impl AnnouncementCache {
|
||||
return (None, collected);
|
||||
}
|
||||
|
||||
let choosed = self
|
||||
let chosen = self
|
||||
.items
|
||||
.iter()
|
||||
.choose(&mut rand::thread_rng())
|
||||
@ -358,7 +358,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_annoucement_cache_peek_priority() {
|
||||
fn test_announcement_cache_peek_priority() {
|
||||
let mut cache = AnnouncementCache::new(100, 3600);
|
||||
let now = timestamp_now();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user