Skip to content
Snippets Groups Projects
Commit 932eff83 authored by brendanedelson's avatar brendanedelson Committed by GitHub
Browse files

add offchain worker to parachain config (#1860)

parent 57cbb203
Branches
No related merge requests found
......@@ -210,6 +210,15 @@ async fn start_node_impl(
warp_sync: None,
})?;
if parachain_config.offchain_worker.enabled {
sc_service::build_offchain_workers(
&parachain_config,
task_manager.spawn_handle(),
client.clone(),
network.clone(),
);
}
let rpc_builder = {
let client = client.clone();
let transaction_pool = transaction_pool.clone();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment