Fix type bug

Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
Emilia Hane
2023-02-08 11:44:37 +01:00
committed by Emilia Hane
co-authored by realbigsean
parent 44ec331452
commit 3d93dad0e2
+1 -1
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())
}