Fix type bug
Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
parent
44ec331452
commit
3d93dad0e2
@ -496,7 +496,7 @@ impl<E: EthSpec, Hot: ItemStore<E>, Cold: ItemStore<E>> HotColdDB<E, Hot, Cold>
|
||||
|
||||
/// Check if the blobs sidecar for a block exists on disk.
|
||||
pub fn blobs_sidecar_exists(&self, block_root: &Hash256) -> Result<bool, Error> {
|
||||
self.get_item::<BlobInfo>(block_root)
|
||||
self.get_item::<BlobsSidecar>(block_root)
|
||||
.map(|blobs| blobs.is_some())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user