Fix type bug

Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
Emilia Hane 2023-01-17 23:04:52 +01:00 committed by Emilia Hane
parent 44ec331452
commit 3d93dad0e2
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -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())
}