mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-07 03:22:20 +00:00
Fix typo
This commit is contained in:
parent
54699f808c
commit
3bede06c9b
@ -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.
|
/// Check if the blobs sidecar for a block exists on disk.
|
||||||
pub fn blobs_sidecar_exists(&self, block_root: &Hash256) -> Result<bool, Error> {
|
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())
|
.map(|blobs| blobs.is_some())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user