mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: add better output if no share and fix printing European Node
This commit is contained in:
parent
cb48040fef
commit
255c183c10
1 changed files with 8 additions and 1 deletions
|
@ -516,6 +516,13 @@ impl Helper {
|
|||
.await
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if let Err(e) = writeln!(
|
||||
lock!(gui_api).output,
|
||||
"No share in the current PPLNS Window !",
|
||||
) {
|
||||
error!("XvB Watchdog | GUI status write failed: {}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
// instant saved for next check
|
||||
|
@ -742,7 +749,7 @@ pub enum XvbNode {
|
|||
#[display(fmt = "XvB North America Node")]
|
||||
NorthAmerica,
|
||||
#[default]
|
||||
#[display(fmt = "XvB North European Node")]
|
||||
#[display(fmt = "XvB European Node")]
|
||||
Europe,
|
||||
#[display(fmt = "Local P2pool")]
|
||||
P2pool,
|
||||
|
|
Loading…
Reference in a new issue