Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Commit 6079a59

Browse files
author
Guantong
committed
1 parent d6ec5db commit 6079a59

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

node/src/service/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,16 @@ where
343343
})),
344344
warp_sync: None,
345345
})?;
346+
347+
if parachain_config.offchain_worker.enabled {
348+
sc_service::build_offchain_workers(
349+
&parachain_config,
350+
task_manager.spawn_handle(),
351+
client.clone(),
352+
network.clone(),
353+
);
354+
}
355+
346356
let overrides = frontier_service::overrides_handle(client.clone());
347357
let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new(
348358
task_manager.spawn_handle(),

0 commit comments

Comments
 (0)