mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 11:22:56 +00:00
Enforce sync lookup receives a single result (#5777)
* Enforce sync lookup receives a single result
This commit is contained in:
@@ -819,7 +819,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
if let Some(resp) = self.network.on_single_block_response(id, block) {
|
||||
self.block_lookups
|
||||
.on_download_response::<BlockRequestState<T::EthSpec>>(
|
||||
id.lookup_id,
|
||||
id,
|
||||
peer_id,
|
||||
resp,
|
||||
&mut self.network,
|
||||
@@ -861,7 +861,7 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
||||
if let Some(resp) = self.network.on_single_blob_response(id, blob) {
|
||||
self.block_lookups
|
||||
.on_download_response::<BlobRequestState<T::EthSpec>>(
|
||||
id.lookup_id,
|
||||
id,
|
||||
peer_id,
|
||||
resp,
|
||||
&mut self.network,
|
||||
|
||||
Reference in New Issue
Block a user