This commit is contained in:
Emilia Hane 2023-01-18 20:38:10 +01:00
parent 54699f808c
commit 3bede06c9b
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::<BlobsSidecar>(block_root)
self.get_item::<BlobsSidecar<T>>(block_root)
.map(|blobs| blobs.is_some())
}