mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 14:07:58 +00:00
Parachain node should not recover blocks while syncing (#2462)
This commit is contained in:
@@ -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)?;
|
||||
|
||||
Reference in New Issue
Block a user