mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 05:38:00 +00:00
Upgrade to libp2p 0.15 (#4732)
* Fixes for libp2p 0.15 * More work * Update libp2p * Update to libp2p 0.15
This commit is contained in:
committed by
Gavin Wood
parent
ed3da9f903
commit
5c8743510e
@@ -837,6 +837,14 @@ ServiceBuilder<
|
||||
|
||||
let network_params = sc_network::config::Params {
|
||||
roles: config.roles,
|
||||
executor: {
|
||||
let to_spawn_tx = to_spawn_tx.clone();
|
||||
Some(Box::new(move |fut| {
|
||||
if let Err(e) = to_spawn_tx.unbounded_send(fut) {
|
||||
error!("Failed to spawn libp2p background task: {:?}", e);
|
||||
}
|
||||
}))
|
||||
},
|
||||
network_config: config.network.clone(),
|
||||
chain: client.clone(),
|
||||
finality_proof_provider,
|
||||
|
||||
Reference in New Issue
Block a user