Parachain node should not recover blocks while syncing (#2462)

This commit is contained in:
Sebastian Kunert
2023-04-19 16:02:35 +02:00
committed by GitHub
parent d403b49abe
commit eced0cb3d5
5 changed files with 48 additions and 13 deletions
+3 -1
View File
@@ -271,7 +271,7 @@ async fn start_node_impl(
&task_manager,
relay_chain_interface.clone(),
transaction_pool,
sync_service,
sync_service.clone(),
params.keystore_container.keystore(),
force_authoring,
para_id,
@@ -291,6 +291,7 @@ async fn start_node_impl(
collator_key: collator_key.expect("Command line arguments do not allow this. qed"),
relay_chain_slot_duration,
recovery_handle: Box::new(overseer_handle),
sync_service,
};
start_collator(params).await?;
@@ -304,6 +305,7 @@ async fn start_node_impl(
relay_chain_slot_duration,
import_queue: import_queue_service,
recovery_handle: Box::new(overseer_handle),
sync_service,
};
start_full_node(params)?;