We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4946343 commit 775fa67Copy full SHA for 775fa67
beacon_node/network/src/sync/block_lookups/single_block_lookup.rs
@@ -171,7 +171,10 @@ impl<T: BeaconChainTypes> SingleBlockLookup<T> {
171
self.awaiting_parent.is_some()
172
|| self.block_request_state.state.is_awaiting_event()
173
|| match &self.component_requests {
174
- ComponentRequests::WaitingForBlock => true,
+ // If components are waiting for the block request to complete, here we should
175
+ // check if the`block_request_state.state.is_awaiting_event(). However we already
176
+ // checked that above, so `WaitingForBlock => false` is equivalent.
177
+ ComponentRequests::WaitingForBlock => false,
178
ComponentRequests::ActiveBlobRequest(request, _) => {
179
request.state.is_awaiting_event()
180
}
0 commit comments