mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 16:17:59 +00:00
Companion for https://github.com/paritytech/substrate/pull/8143
This commit is contained in:
@@ -170,12 +170,13 @@ pub fn run() -> Result<()> {
|
||||
let role = config.role.clone();
|
||||
|
||||
let task_manager = match role {
|
||||
Role::Light => service::build_light(config).map(|(task_manager, _, _)| task_manager),
|
||||
Role::Light => service::build_light(config).map(|(task_manager, _)| task_manager),
|
||||
_ => service::build_full(
|
||||
config,
|
||||
service::IsCollator::No,
|
||||
grandpa_pause,
|
||||
jaeger_agent,
|
||||
None,
|
||||
).map(|full| full.task_manager)
|
||||
}?;
|
||||
Ok::<_, Error>(task_manager)
|
||||
|
||||
Reference in New Issue
Block a user