mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
fix: count time on 0s when sending all to p2pool for one decision
Some checks failed
Lockbud / lockbud (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Rust / doc (ubuntu-latest) (push) Has been cancelled
Typo / typo (push) Has been cancelled
Some checks failed
Lockbud / lockbud (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Rust / doc (ubuntu-latest) (push) Has been cancelled
Typo / typo (push) Has been cancelled
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