mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Remove: (#8748)
* `NetworkStatusSinks` * `sc_service::SpawnTasksParams::network_status_sinks` Also: * `sc_service::build_network()` does not return `network_status_sinks`
This commit is contained in:
committed by
GitHub
parent
fa89414bba
commit
8dfb8cd978
@@ -204,7 +204,6 @@ pub struct NewFullBase {
|
||||
pub task_manager: TaskManager,
|
||||
pub client: Arc<FullClient>,
|
||||
pub network: Arc<NetworkService<Block, <Block as BlockT>::Hash>>,
|
||||
pub network_status_sinks: sc_service::NetworkStatusSinks<Block>,
|
||||
pub transaction_pool: Arc<sc_transaction_pool::FullPool<Block, FullClient>>,
|
||||
}
|
||||
|
||||
@@ -242,7 +241,7 @@ pub fn new_full_base(
|
||||
)
|
||||
);
|
||||
|
||||
let (network, network_status_sinks, system_rpc_tx, network_starter) =
|
||||
let (network, system_rpc_tx, network_starter) =
|
||||
sc_service::build_network(sc_service::BuildNetworkParams {
|
||||
config: &config,
|
||||
client: client.clone(),
|
||||
@@ -279,7 +278,6 @@ pub fn new_full_base(
|
||||
task_manager: &mut task_manager,
|
||||
on_demand: None,
|
||||
remote_blockchain: None,
|
||||
network_status_sinks: network_status_sinks.clone(),
|
||||
system_rpc_tx,
|
||||
telemetry: telemetry.as_mut(),
|
||||
},
|
||||
@@ -415,7 +413,6 @@ pub fn new_full_base(
|
||||
task_manager,
|
||||
client,
|
||||
network,
|
||||
network_status_sinks,
|
||||
transaction_pool,
|
||||
})
|
||||
}
|
||||
@@ -519,7 +516,7 @@ pub fn new_light_base(
|
||||
telemetry.as_ref().map(|x| x.handle()),
|
||||
)?;
|
||||
|
||||
let (network, network_status_sinks, system_rpc_tx, network_starter) =
|
||||
let (network, system_rpc_tx, network_starter) =
|
||||
sc_service::build_network(sc_service::BuildNetworkParams {
|
||||
config: &config,
|
||||
client: client.clone(),
|
||||
@@ -576,7 +573,7 @@ pub fn new_light_base(
|
||||
client: client.clone(),
|
||||
transaction_pool: transaction_pool.clone(),
|
||||
keystore: keystore_container.sync_keystore(),
|
||||
config, backend, network_status_sinks, system_rpc_tx,
|
||||
config, backend, system_rpc_tx,
|
||||
network: network.clone(),
|
||||
task_manager: &mut task_manager,
|
||||
telemetry: telemetry.as_mut(),
|
||||
|
||||
Reference in New Issue
Block a user