From 008596aa1bcf1489c18d81837475e9099a5d7f58 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Fri, 9 Dec 2022 23:38:17 +0100 Subject: [PATCH] Update rpc.rs --- swap/tests/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/tests/rpc.rs b/swap/tests/rpc.rs index 4c0e78f3..bdb26bf9 100644 --- a/swap/tests/rpc.rs +++ b/swap/tests/rpc.rs @@ -45,7 +45,7 @@ pub async fn start_server() { let (ctx, mut request) = initialize_context().await; let move_ctx = Arc::clone(&ctx); tokio::spawn(async move { - request.call(Arc::clone(move_ctx)).await; + request.call(Arc::clone(&move_ctx)).await; }); tokio::time::sleep(Duration::from_secs(3)).await; ctx.shutdown.send(());