Undo response modification in commit 597363d2f

This commit is contained in:
Emilia Hane 2023-01-06 12:42:21 +01:00
parent 74bca46fc2
commit c44738c77b
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -660,7 +660,6 @@ impl<T: BeaconChainTypes> Worker<T> {
for root in block_roots {
match self.chain.get_blobs(&root) {
Ok(Some(blobs)) => {
if blobs.blobs.len() > 0 {
blobs_sent += 1;
self.send_network_message(NetworkMessage::SendResponse {
peer_id,
@ -668,7 +667,6 @@ impl<T: BeaconChainTypes> Worker<T> {
id: request_id,
});
}
}
Ok(None) => {
error!(
self.log,