fix some todos

This commit is contained in:
realbigsean
2023-04-25 09:25:24 -04:00
parent 53c0356f8d
commit 9c2aceed10
3 changed files with 8 additions and 30 deletions

View File

@@ -984,11 +984,11 @@ impl<T: BeaconChainTypes> SyncManager<T> {
seen_timestamp,
&mut self.network,
),
RequestId::BackFillBlocks { id } => {
todo!()
RequestId::BackFillBlocks { id: _ } => {
warn!(self.log, "Blob received during backfill block request"; "peer_id" => %peer_id );
}
RequestId::RangeBlocks { id } => {
todo!()
RequestId::RangeBlocks { id: _ } => {
warn!(self.log, "Blob received during range block request"; "peer_id" => %peer_id );
}
RequestId::BackFillBlockAndBlobs { id } => {
self.backfill_block_and_blobs_response(id, peer_id, blob.into())