mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-04-04 05:29:11 +00:00
fix: count time on 0s when sending all to p2pool for one decision
Also fix the wrong hover text saying time until switching to XvB where it should say time until next decision.
This commit is contained in:
parent
068b11afac
commit
675a97080c
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ fn update_indicator_algo(
|
|||
{
|
||||
let node = pub_api.lock().unwrap().current_node;
|
||||
let msg_indicator = match node {
|
||||
Some(XvbNode::P2pool) if time_donated > 0 => {
|
||||
Some(XvbNode::P2pool) if time_donated > 0 && time_donated != XVB_TIME_ALGO => {
|
||||
// algo is mining on p2pool but will switch to XvB after
|
||||
// show time remaining on p2pool
|
||||
|
||||
|
|
Loading…
Reference in a new issue