mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-03 02:57:04 -04:00
Update rpc.rs
This commit is contained in:
parent
88a5870961
commit
008596aa1b
1 changed files with 1 additions and 1 deletions
|
@ -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(());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue