mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-08 06:59:24 +00:00
fix: empty url for xmrig api in simple mode
This commit is contained in:
parent
06839cadc3
commit
fc683b3a13
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ impl Helper {
|
|||
let mut api_ip = String::with_capacity(15);
|
||||
let mut api_port = String::with_capacity(5);
|
||||
if state.simple {
|
||||
api_ip = "127.0.0.1".to_string();
|
||||
api_port = "18088".to_string();
|
||||
|
||||
*helper.lock().unwrap().img_xmrig.lock().unwrap() = ImgXmrig {
|
||||
threads: state.current_threads.to_string(),
|
||||
url: "127.0.0.1:3333 (Local P2Pool)".to_string(),
|
||||
|
|
Loading…
Reference in a new issue