From 81f70013cb3ce56cf3960c72232acbc06530d4ac Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Sun, 29 Sep 2024 13:22:36 +0200 Subject: [PATCH] fix: take custom input args for xmrig-proxy into account --- src/helper/xrig/xmrig_proxy.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/helper/xrig/xmrig_proxy.rs b/src/helper/xrig/xmrig_proxy.rs index c427009..4d9574e 100644 --- a/src/helper/xrig/xmrig_proxy.rs +++ b/src/helper/xrig/xmrig_proxy.rs @@ -112,7 +112,11 @@ impl Helper { let api_port; let ip; let port; - + // custom args from user input + if !state.arguments.is_empty() { + args.push(state.arguments.clone()); + return args; + } // [Simple] if state.simple { // Build the xmrig argument