Merge branch 'rpc-server' of https://github.com/yamabiiko/xmr-btc-swap into rpc-server

This commit is contained in:
binarybaron 2023-08-14 16:54:14 +02:00
commit ec65ea2b27
5 changed files with 94 additions and 91 deletions

View file

@ -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