Skip to content
Snippets Groups Projects
Commit 00c2ee56 authored by Dmitry Markin's avatar Dmitry Markin Committed by GitHub
Browse files

Upgrade tokio to 1.22.0 and replace async-std with tokio (#1917)

* Make tokio executor mandatory

* kick CI

* Update Cargo.lock
parent b27e494a
No related merge requests found
This diff is collapsed.
......@@ -72,9 +72,9 @@ pub(crate) fn build_collator_network(
role: config.role.clone(),
executor: {
let spawn_handle = Clone::clone(&spawn_handle);
Some(Box::new(move |fut| {
Box::new(move |fut| {
spawn_handle.spawn("libp2p-node", Some("networking"), fut);
}))
})
},
fork_id: None,
chain_sync: Box::new(chain_sync),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment