mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-31 13:17:09 +00:00
nuke router
This commit is contained in:
@@ -690,16 +690,8 @@ pub fn start_availability_cache_maintenance_service<T: BeaconChainTypes>(
|
||||
) {
|
||||
// this cache only needs to be maintained if deneb is configured
|
||||
if chain.spec.deneb_fork_epoch.is_some() {
|
||||
let overflow_cache = chain
|
||||
.data_availability_checker
|
||||
.pending_block_cache()
|
||||
.availability_cache
|
||||
.clone();
|
||||
let partial_assembler = chain
|
||||
.data_availability_checker
|
||||
.pending_block_cache()
|
||||
.partial_assembler
|
||||
.clone();
|
||||
let overflow_cache = chain.data_availability_checker.availability_cache.clone();
|
||||
let partial_assembler = chain.data_availability_checker.partial_assembler.clone();
|
||||
executor.spawn(
|
||||
async move {
|
||||
availability_cache_maintenance_service(chain, overflow_cache, partial_assembler)
|
||||
|
||||
Reference in New Issue
Block a user