From eff8573ed5a3d338dfcd6434776e4010ccda09d5 Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Tue, 1 Oct 2024 21:47:17 +0200 Subject: [PATCH] fix: do not use custom args in simple mode --- src/helper/xrig/xmrig_proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/xrig/xmrig_proxy.rs b/src/helper/xrig/xmrig_proxy.rs index e15b3a6..2a81c49 100644 --- a/src/helper/xrig/xmrig_proxy.rs +++ b/src/helper/xrig/xmrig_proxy.rs @@ -113,7 +113,7 @@ impl Helper { let ip; let port; // custom args from user input - if !state.arguments.is_empty() { + if !state.arguments.is_empty() && !state.simple { args.push(state.arguments.clone()); return args; }