Merge branch 'unstable' into capella

This commit is contained in:
Mark Mackey
2022-12-15 12:20:03 -06:00
2 changed files with 13 additions and 4 deletions

View File

@@ -399,6 +399,15 @@ impl<T: BeaconChainTypes> Worker<T> {
"block_root" => ?root,
"error" => ?e
);
// send the stream terminator
self.send_error_response(
peer_id,
RPCResponseErrorCode::ServerError,
"Failed fetching blocks".into(),
request_id,
);
send_response = false;
break;
}
}