diff --git a/src/helper/xrig/mod.rs b/src/helper/xrig/mod.rs index 9121034..d16ad9d 100644 --- a/src/helper/xrig/mod.rs +++ b/src/helper/xrig/mod.rs @@ -27,7 +27,10 @@ pub async fn update_xmrig_config( let mut config = request.send().await?.json::().await?; // modify node configuration let uri = [node.url(), ":".to_string(), node.port()].concat(); - info!("replace xmrig config with node {}", uri); + info!( + "replace xmrig from api url {api_uri} config with node {}", + uri + ); *config .pointer_mut("/pools/0/url") .ok_or_else(|| anyhow!("pools/0/url does not exist in xmrig config"))? = uri.into(); diff --git a/src/helper/xvb/algorithm.rs b/src/helper/xvb/algorithm.rs index efd353b..75eb2f0 100644 --- a/src/helper/xvb/algorithm.rs +++ b/src/helper/xvb/algorithm.rs @@ -283,7 +283,7 @@ pub(crate) async fn algorithm( // request XMrig to mine on P2pool // if share is in PW, let msg_xmrig_or_xp = if xp_alive { "XMRig-Proxy" } else { "XMRig" }; - + info!("xp alive: {:?}", xp_alive); let api_url = api_url_xmrig(xp_alive, true); if share > 0 { debug!("Xvb Process | Algorithm share is in current window");