mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-01-18 20:04:30 +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
|
.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
|
// instant saved for next check
|
||||||
|
@ -742,7 +749,7 @@ pub enum XvbNode {
|
||||||
#[display(fmt = "XvB North America Node")]
|
#[display(fmt = "XvB North America Node")]
|
||||||
NorthAmerica,
|
NorthAmerica,
|
||||||
#[default]
|
#[default]
|
||||||
#[display(fmt = "XvB North European Node")]
|
#[display(fmt = "XvB European Node")]
|
||||||
Europe,
|
Europe,
|
||||||
#[display(fmt = "Local P2pool")]
|
#[display(fmt = "Local P2pool")]
|
||||||
P2pool,
|
P2pool,
|
||||||
|
|
Loading…
Reference in a new issue