mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-16 18:28:42 +00:00
Fix tests
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
//! search for the block and subsequently search for parents if needed.
|
||||
|
||||
use super::backfill_sync::{BackFillSync, ProcessResult, SyncStart};
|
||||
use super::block_lookups::BlockLookups;
|
||||
use super::block_lookups::{BlockLookups, NewLookupTrigger};
|
||||
use super::network_context::{
|
||||
CustodyByRootResult, RangeBlockComponent, RangeRequestId, RpcEvent, SyncNetworkContext,
|
||||
};
|
||||
@@ -1038,6 +1038,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
block_component,
|
||||
awaiting_parent,
|
||||
peer_id,
|
||||
NewLookupTrigger::NetworkMessage,
|
||||
&mut self.network,
|
||||
) {
|
||||
// Lookup created. No need to log here it's logged in `new_current_lookup`
|
||||
@@ -1066,6 +1067,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
if self.block_lookups.search_unknown_block(
|
||||
block_root,
|
||||
&[peer_id],
|
||||
NewLookupTrigger::NetworkMessage,
|
||||
&mut self.network,
|
||||
) {
|
||||
// Lookup created. No need to log here it's logged in `new_current_lookup`
|
||||
|
||||
Reference in New Issue
Block a user