mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
update comment
This commit is contained in:
@@ -192,8 +192,7 @@ impl<T: BeaconChainTypes> DataAvailabilityChecker<T> {
|
|||||||
self.availability_cache.peek_blob(blob_id)
|
self.availability_cache.peek_blob(blob_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get a block from the availability cache. Only checks for blocks stored in memory. Useful
|
/// Get a block from the availability cache. Includes any blocks we are currently processing.
|
||||||
/// for serving RPC requests.
|
|
||||||
pub fn get_block(&self, block_root: &Hash256) -> Option<Arc<SignedBeaconBlock<T::EthSpec>>> {
|
pub fn get_block(&self, block_root: &Hash256) -> Option<Arc<SignedBeaconBlock<T::EthSpec>>> {
|
||||||
self.processing_cache
|
self.processing_cache
|
||||||
.read()
|
.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user