cargo fmt

This commit is contained in:
realbigsean
2023-08-24 14:35:06 -04:00
parent f90b190d9a
commit 42b34dbbe4
10 changed files with 55 additions and 49 deletions

View File

@@ -57,8 +57,8 @@ impl<T: EthSpec> BlocksAndBlobsRequestInfo<T> {
for blob in blob_list {
let blob_index = blob.index as usize;
let Some(blob_opt) = blobs_buffer.get_mut(blob_index) else {
return Err("Invalid blob index");
};
return Err("Invalid blob index");
};
if blob_opt.is_some() {
return Err("Repeat blob index");
} else {