mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-03 04:29:26 +00:00
This commit is contained in:
parent
22a9592c66
commit
853470728c
2 changed files with 3 additions and 9 deletions
|
@ -107,10 +107,10 @@ impl P2pool {
|
|||
ui.add_space(SPACE);
|
||||
slider_state_field(
|
||||
ui,
|
||||
"Log level [ 2-6 ]:",
|
||||
"Log level [ 0-6 ]:",
|
||||
P2POOL_LOG,
|
||||
&mut self.log_level,
|
||||
2..=6,
|
||||
0..=6,
|
||||
);
|
||||
})
|
||||
});
|
||||
|
|
|
@ -373,12 +373,6 @@ impl Helper {
|
|||
} else {
|
||||
&state.ip
|
||||
};
|
||||
// log level of p2pool must be minimum 2 so Gupaxx works correctly.
|
||||
let log_level = if state.log_level < 2 {
|
||||
2
|
||||
} else {
|
||||
state.log_level
|
||||
};
|
||||
args.push("--wallet".to_string());
|
||||
args.push(state.address.clone()); // Wallet
|
||||
args.push("--host".to_string());
|
||||
|
@ -388,7 +382,7 @@ impl Helper {
|
|||
args.push("--zmq-port".to_string());
|
||||
args.push(state.zmq.to_string()); // ZMQ
|
||||
args.push("--loglevel".to_string());
|
||||
args.push(log_level.to_string()); // Log Level
|
||||
args.push(state.log_level.to_string()); // Log Level
|
||||
args.push("--out-peers".to_string());
|
||||
args.push(state.out_peers.to_string()); // Out Peers
|
||||
args.push("--in-peers".to_string());
|
||||
|
|
Loading…
Reference in a new issue