Skip to content

Commit

Permalink
Update ping/rust/src/bin/testplan_0500.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden authored Nov 30, 2022
1 parent b57b59b commit 19a8de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ping/rust/src/bin/testplan_0500.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async fn main() -> Result<()> {
let local_key = identity::Keypair::generate_ed25519();
let local_peer_id = PeerId::from(local_key.public());

let swarm = OrphanRuleWorkaround(Swarm::with_async_std_executor(
let swarm = OrphanRuleWorkaround(Swarm::with_tokio_executor(
development_transport(local_key).await?,
Behaviour {
keep_alive: keep_alive::Behaviour,
Expand Down

0 comments on commit 19a8de2

Please sign in to comment.