mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bin/drk2: Debug outgoing JSON.
This commit is contained in:
@@ -23,6 +23,7 @@ impl Drk {
|
||||
|
||||
async fn request(&self, r: jsonrpc::JsonRequest) -> Result<Value> {
|
||||
let reply: JsonResult;
|
||||
debug!(target: "DRK", "--> {:#?}", serde_json::to_string(&r)?);
|
||||
match jsonrpc::send_request(self.url.clone(), json!(r)).await {
|
||||
Ok(v) => reply = v,
|
||||
Err(e) => return Err(e),
|
||||
|
||||
Reference in New Issue
Block a user