mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
fix: remove dead code
This commit is contained in:
parent
b682813ab6
commit
e0d8b1efde
1 changed files with 0 additions and 11 deletions
|
@ -213,17 +213,6 @@ impl<'a> Algorithm<'a> {
|
||||||
is_criteria_fulfilled
|
is_criteria_fulfilled
|
||||||
}
|
}
|
||||||
|
|
||||||
fn xvb_1h_fulfilled(&self) -> bool {
|
|
||||||
let is_criteria_fulfilled = self.stats.xvb_1h_avg > self.stats.target_donation_hashrate;
|
|
||||||
|
|
||||||
info!(
|
|
||||||
"Algorithm | xvb_1h_avg({}) > target_donation_hashrate({}) : {}",
|
|
||||||
self.stats.xvb_1h_avg, self.stats.target_donation_hashrate, is_criteria_fulfilled
|
|
||||||
);
|
|
||||||
|
|
||||||
is_criteria_fulfilled
|
|
||||||
}
|
|
||||||
|
|
||||||
async fn target_p2pool_node(&self) {
|
async fn target_p2pool_node(&self) {
|
||||||
if lock!(self.gui_api_xvb).current_node != Some(XvbNode::P2pool) {
|
if lock!(self.gui_api_xvb).current_node != Some(XvbNode::P2pool) {
|
||||||
info!(
|
info!(
|
||||||
|
|
Loading…
Reference in a new issue