diff --git a/monero-harness/src/rpc/monerod.rs b/monero-harness/src/rpc/monerod.rs index 9e32c645..aa00a62d 100644 --- a/monero-harness/src/rpc/monerod.rs +++ b/monero-harness/src/rpc/monerod.rs @@ -6,12 +6,7 @@ use crate::{ use anyhow::Result; use reqwest::Url; use serde::{Deserialize, Serialize}; - -// #[cfg(not(test))] -// use tracing::debug; -// -// #[cfg(test)] -use std::eprintln as debug; +use tracing::debug; /// RPC client for monerod and monero-wallet-rpc. #[derive(Debug, Clone)] diff --git a/monero-harness/src/rpc/wallet.rs b/monero-harness/src/rpc/wallet.rs index 7afaa2c8..a81702ac 100644 --- a/monero-harness/src/rpc/wallet.rs +++ b/monero-harness/src/rpc/wallet.rs @@ -3,9 +3,7 @@ use crate::rpc::{Request, Response}; use anyhow::Result; use reqwest::Url; use serde::{Deserialize, Serialize}; - -// TODO: Either use println! directly or import tracing also? -use std::println as debug; +use tracing::debug; /// JSON RPC client for monero-wallet-rpc. #[derive(Debug)]