Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Make tokio executor mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin committed Nov 27, 2022
1 parent 74f0ff0 commit 747400a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/relay-chain-minimal-node/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,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),
Expand Down

0 comments on commit 747400a

Please sign in to comment.