mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-10 21:11:22 +00:00
spelling
This commit is contained in:
parent
48ff56d9cb
commit
3643f5cc19
@ -304,7 +304,7 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
|
|||||||
BlockOrBlob::Blob(maybe_sidecar) => info.add_sidecar_response(maybe_sidecar),
|
BlockOrBlob::Blob(maybe_sidecar) => info.add_sidecar_response(maybe_sidecar),
|
||||||
}
|
}
|
||||||
if info.is_finished() {
|
if info.is_finished() {
|
||||||
// If the request is finished, unqueue everything
|
// If the request is finished, dequeue everything
|
||||||
let (chain_id, batch_id, info) = entry.remove();
|
let (chain_id, batch_id, info) = entry.remove();
|
||||||
Some((chain_id, batch_id, info.into_responses()))
|
Some((chain_id, batch_id, info.into_responses()))
|
||||||
} else {
|
} else {
|
||||||
@ -372,7 +372,7 @@ impl<T: BeaconChainTypes> SyncNetworkContext<T> {
|
|||||||
BlockOrBlob::Blob(maybe_sidecar) => info.add_sidecar_response(maybe_sidecar),
|
BlockOrBlob::Blob(maybe_sidecar) => info.add_sidecar_response(maybe_sidecar),
|
||||||
}
|
}
|
||||||
if info.is_finished() {
|
if info.is_finished() {
|
||||||
// If the request is finished, unqueue everything
|
// If the request is finished, dequeue everything
|
||||||
let (batch_id, info) = entry.remove();
|
let (batch_id, info) = entry.remove();
|
||||||
Some((batch_id, info.into_responses()))
|
Some((batch_id, info.into_responses()))
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user