Add peers to parent lookups (#5858)

* Add peers to parent lookups

* Add test

* lint

* Do not attempt to continue

* add_peers_to_lookup_and_ancestors can't drop
This commit is contained in:
Lion - dapplion
2024-05-30 20:07:32 +03:00
committed by GitHub
parent df6e1c9add
commit 17dc978760
3 changed files with 104 additions and 15 deletions

View File

@@ -280,7 +280,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
}
#[cfg(test)]
pub(crate) fn active_single_lookups(&self) -> Vec<(Id, Hash256, Option<Hash256>)> {
pub(crate) fn active_single_lookups(&self) -> Vec<super::block_lookups::BlockLookupSummary> {
self.block_lookups.active_single_lookups()
}