clean up nonexistent ban entries from the memory pool

This commit is contained in:
yggverse 2025-08-19 02:22:52 +03:00
parent 080eaf43d7
commit 8c4698f781

View file

@ -89,6 +89,9 @@ async fn main() -> Result<()> {
}
}
// clean up nonexistent ban entries from the memory pool
ban.retain(|i| queue.contains(i));
// handle
log::debug!(
"fetched {} unique hashes from {} source, banned: {}.",