mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
resolve merge conflicts
This commit is contained in:
@@ -296,16 +296,17 @@ impl BlockId {
|
||||
))
|
||||
})?
|
||||
} else {
|
||||
BlobSidecarList::default()
|
||||
BlobSidecarList::empty_uninitialized()
|
||||
};
|
||||
|
||||
let blob_sidecar_list_filtered = match indices.indices {
|
||||
Some(vec) => {
|
||||
let list = blob_sidecar_list
|
||||
let list: Vec<_> = blob_sidecar_list
|
||||
.into_iter()
|
||||
.filter(|blob_sidecar| vec.contains(&blob_sidecar.index))
|
||||
.collect();
|
||||
BlobSidecarList::new(list)
|
||||
let max_len = chain.spec.max_blobs_per_block(block.epoch());
|
||||
BlobSidecarList::new(list, max_len as usize)
|
||||
.map_err(|e| warp_utils::reject::custom_server_error(format!("{:?}", e)))?
|
||||
}
|
||||
None => blob_sidecar_list,
|
||||
|
||||
Reference in New Issue
Block a user