Skip to content

Commit fd4fc4a

Browse files
committed
Fix fetch blobs in all-null case (#6940)
Squashed commit of the following: commit 9c1ca43 Author: Michael Sproul <[email protected]> Date: Fri Feb 7 15:56:13 2025 +1100 Fix fetch blobs in all-null case
1 parent 8445ee4 commit fd4fc4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/beacon_chain/src/fetch_blobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub async fn fetch_and_process_engine_blobs<T: BeaconChainTypes>(
9191
.await
9292
.map_err(FetchEngineBlobError::RequestFailed)?;
9393

94-
if response.is_empty() {
94+
if response.is_empty() || response.iter().all(|opt| opt.is_none()) {
9595
debug!(
9696
log,
9797
"No blobs fetched from the EL";

0 commit comments

Comments
 (0)