mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
Remove collating_for argument from service (#1802)
The collator is now enabled in a different way and we don't require this argument anymore.
This commit is contained in:
@@ -148,7 +148,6 @@ pub fn run() -> Result<()> {
|
||||
Role::Light => service::build_light(config).map(|(task_manager, _)| task_manager),
|
||||
_ => service::build_full(
|
||||
config,
|
||||
None,
|
||||
authority_discovery_enabled,
|
||||
grandpa_pause,
|
||||
).map(|full| full.task_manager),
|
||||
@@ -189,7 +188,7 @@ pub fn run() -> Result<()> {
|
||||
network_status_sinks,
|
||||
..
|
||||
} = service::build_full(
|
||||
config, None, authority_discovery_enabled, grandpa_pause,
|
||||
config, authority_discovery_enabled, grandpa_pause,
|
||||
)?;
|
||||
let client = Arc::new(client);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user