Register runner when starting script

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2025-09-04 17:36:21 +02:00
parent 059d5131e7
commit c38937f1cb
4 changed files with 93 additions and 6 deletions

View File

@@ -55,6 +55,8 @@ impl MyceliumClient {
"method": method,
"params": [ params ]
});
tracing::info!(%req, "jsonrpc");
let resp = self.http.post(&self.base_url).json(&req).send().await?;
let status = resp.status();
let body: Value = resp.json().await?;