mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-01 04:56:41 -05:00
Merge branch 'rpc-server' of https://github.com/yamabiiko/xmr-btc-swap into rpc-server
This commit is contained in:
commit
ec65ea2b27
5 changed files with 94 additions and 91 deletions
|
|
@ -159,7 +159,7 @@ async fn execute_request(
|
|||
cmd: Method,
|
||||
context: &Arc<Context>,
|
||||
) -> Result<serde_json::Value, jsonrpsee_core::Error> {
|
||||
let request = Request::new(context.shutdown.subscribe(), cmd);
|
||||
let request = Request::new(cmd);
|
||||
request
|
||||
.call(Arc::clone(context))
|
||||
.await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue