fix existing block lookup tests

This commit is contained in:
realbigsean
2023-04-26 14:44:32 -04:00
parent 46a9b3a7ed
commit 4390036887
3 changed files with 12 additions and 8 deletions

View File

@@ -803,7 +803,7 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
block_id_opt
.as_mut()
.or(blob_id_opt.as_mut())
.and_then(|id_ref| (*id_ref != id).then_some((index, id_ref, req)))
.and_then(|id_ref| (*id_ref == id).then_some((index, id_ref, req)))
},
);
let (index, request_id_ref, request_ref) = match lookup_components_opt {