mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Update to integrate network fix from Substrate (#184)
This commit is contained in:
Generated
+154
-154
File diff suppressed because it is too large
Load Diff
@@ -142,7 +142,7 @@ pub fn run_collator(
|
|||||||
let transaction_pool = params.transaction_pool.clone();
|
let transaction_pool = params.transaction_pool.clone();
|
||||||
let mut task_manager = params.task_manager;
|
let mut task_manager = params.task_manager;
|
||||||
let import_queue = params.import_queue;
|
let import_queue = params.import_queue;
|
||||||
let (network, network_status_sinks, system_rpc_tx) =
|
let (network, network_status_sinks, system_rpc_tx, start_network) =
|
||||||
sc_service::build_network(sc_service::BuildNetworkParams {
|
sc_service::build_network(sc_service::BuildNetworkParams {
|
||||||
config: ¶chain_config,
|
config: ¶chain_config,
|
||||||
client: client.clone(),
|
client: client.clone(),
|
||||||
@@ -232,6 +232,8 @@ pub fn run_collator(
|
|||||||
.spawn("polkadot", polkadot_future);
|
.spawn("polkadot", polkadot_future);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_network.start_network();
|
||||||
|
|
||||||
Ok((task_manager, client))
|
Ok((task_manager, client))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user