mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Fix some todos
This commit is contained in:
@@ -1249,10 +1249,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
pub fn get_blobs(&self, block_root: &Hash256) -> Result<BlobSidecarList<T::EthSpec>, Error> {
|
||||
match self.store.get_blobs(block_root)? {
|
||||
Some(blobs) => Ok(blobs),
|
||||
None => Ok(BlobSidecarList::empty(
|
||||
// TODO(pawan): fix this
|
||||
self.spec.max_blobs_per_block(Epoch::new(0)) as usize,
|
||||
)),
|
||||
None => Ok(BlobSidecarList::empty_uninitialized()),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user