diff --git a/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs b/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs index 69bd7da11..892d2671a 100644 --- a/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs +++ b/beacon_node/network/src/beacon_processor/worker/rpc_methods.rs @@ -660,10 +660,15 @@ impl Worker { for root in block_roots { match self.chain.store.get_blobs(&root) { Ok(Some(blob)) => { + let response_data = if blob.blobs.len() > 0 { + Some(Arc::new(blob)) + } else { + None + }; blobs_sent += 1; self.send_network_message(NetworkMessage::SendResponse { peer_id, - response: Response::BlobsByRange(Some(Arc::new(blob))), + response: Response::BlobsByRange(response_data), id: request_id, }); }