From a1adf3828252e4189ca061e4aa888cce6b916eed Mon Sep 17 00:00:00 2001 From: yrong Date: Thu, 11 Nov 2021 17:44:34 +0800 Subject: [PATCH] fix --- node/service/src/lib.rs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index b4f95819c4..f9685ce9a2 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -244,7 +244,7 @@ where /// /// This is the actual implementation that is abstract over the executor and the /// runtime api. -#[sc_tracing::logging::prefix_logs_with("Parachain")] +#[sc_tracing::logging::prefix_logs_with("Parachain🌈")] async fn start_node_impl( parachain_config: Configuration, polkadot_config: Configuration, @@ -340,15 +340,6 @@ where }) }; - if parachain_config.offchain_worker.enabled { - sc_service::build_offchain_workers( - ¶chain_config, - task_manager.spawn_handle(), - client.clone(), - network.clone(), - ); - }; - sc_service::spawn_tasks(sc_service::SpawnTasksParams { on_demand: None, remote_blockchain: None,