mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Update beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs
This commit is contained in:
@@ -364,7 +364,7 @@ impl<T: BeaconChainTypes> OverflowLRUCache<T> {
|
|||||||
true
|
true
|
||||||
} else if read_lock.store_keys.contains(block_root) {
|
} else if read_lock.store_keys.contains(block_root) {
|
||||||
drop(read_lock);
|
drop(read_lock);
|
||||||
// I assume if there's some kind of error reading from the store, we should just return false
|
// If there's some kind of error reading from the store, we should just return false
|
||||||
self.overflow_store
|
self.overflow_store
|
||||||
.load_block(block_root)
|
.load_block(block_root)
|
||||||
.map_or(false, |maybe_block| maybe_block.is_some())
|
.map_or(false, |maybe_block| maybe_block.is_some())
|
||||||
|
|||||||
Reference in New Issue
Block a user