diff --git a/benches/payments.rs b/benches/payments.rs index 91de0bfa77..9bf56a25df 100644 --- a/benches/payments.rs +++ b/benches/payments.rs @@ -123,8 +123,8 @@ fn payment_benchmark(c: &mut Criterion) { let runtime = tokio::runtime::Builder::new_multi_thread().worker_threads(4).enable_all().build().unwrap(); - let node_a = Arc::new(node_a); - let node_b = Arc::new(node_b); + let node_a: Arc = node_a.into(); + let node_b: Arc = node_b.into(); // Fund the nodes and setup a channel between them. The criterion function cannot be async, so we need to execute // the setup using a runtime.