fix: remove dead code

This commit is contained in:
mostafaei2002 2024-07-24 22:54:02 +03:30
parent b682813ab6
commit e0d8b1efde

View file

@ -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!(