renames, remove , wrap BlockWrapper enum to make descontruction private

This commit is contained in:
realbigsean
2022-12-28 10:28:45 -05:00
parent 502b5e5bf0
commit 5b3b34a9d7
19 changed files with 231 additions and 268 deletions

View File

@@ -1315,7 +1315,7 @@ impl<AppReqId: ReqId, TSpec: EthSpec> Network<AppReqId, TSpec> {
RPCResponse::BlocksByRoot(resp) => {
self.build_response(id, peer_id, Response::BlocksByRoot(Some(resp)))
}
RPCResponse::BlobsByRoot(resp) => {
RPCResponse::BlockAndBlobsByRoot(resp) => {
self.build_response(id, peer_id, Response::BlobsByRoot(Some(resp)))
}
// Should never be reached