From e8cec32e0e728f1ba8ac04f3e6938644e73d77f1 Mon Sep 17 00:00:00 2001 From: julypjulius Date: Wed, 7 Oct 2026 10:14:16 +0300 Subject: [PATCH] Fix double-Arc wrapping in payments benchmark under uniffi Signed-off-by: julypjulius --- benches/payments.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.