Always run on-demand headers relay in complex relay (#975)

* always run on-demand headers relay in complex relay

* fix compilation
This commit is contained in:
Svyatoslav Nikolsky
2021-05-26 09:23:31 +03:00
committed by Bastian Köcher
parent cae105b55f
commit 6301ae0636
10 changed files with 175 additions and 290 deletions
@@ -197,7 +197,6 @@ fn run_sync_loop(state_function: impl Fn(&mut ClientsData) -> bool + Send + Sync
data: clients_data.clone(),
};
let sync_params = FinalitySyncParams {
is_on_demand_task: false,
tick: Duration::from_secs(0),
recent_finality_proofs_limit: 1024,
stall_timeout: Duration::from_secs(1),