cargo fmt & lint-fix

This commit is contained in:
qu0b
2023-07-26 11:22:06 +02:00
parent 1be4d54035
commit 28de041527
3 changed files with 7 additions and 17 deletions

View File

@@ -1087,12 +1087,7 @@ async fn test_blobs_by_range() {
.block_root_at_slot(Slot::new(slot), WhenSlotSkipped::None)
.unwrap();
blob_count += root
.and_then(|root| {
rig.chain
.get_blobs(&root)
.unwrap_or_default()
.map(|blobs| blobs.len())
})
.map(|root| rig.chain.get_blobs(&root).unwrap_or_default().len())
.unwrap_or(0);
}
let mut actual_count = 0;