Skip to content

Commit

Permalink
fix (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong authored Nov 11, 2021
1 parent 36c4d39 commit 88f58d4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<RB, RuntimeApi, Executor, BIC>(
parachain_config: Configuration,
polkadot_config: Configuration,
Expand Down Expand Up @@ -340,15 +340,6 @@ where
})
};

if parachain_config.offchain_worker.enabled {
sc_service::build_offchain_workers(
&parachain_config,
task_manager.spawn_handle(),
client.clone(),
network.clone(),
);
};

sc_service::spawn_tasks(sc_service::SpawnTasksParams {
on_demand: None,
remote_blockchain: None,
Expand Down

0 comments on commit 88f58d4

Please sign in to comment.