From ddd8f404af81b60becb6011650602fa15f51dbda Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Fri, 3 Jan 2025 15:59:16 +0100 Subject: [PATCH] fix: if XvB target is 0H/s and average 24H is 0H/s, HR is sent to XvB --- src/helper/xvb/algorithm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/xvb/algorithm.rs b/src/helper/xvb/algorithm.rs index 57214a9..0142126 100644 --- a/src/helper/xvb/algorithm.rs +++ b/src/helper/xvb/algorithm.rs @@ -256,7 +256,7 @@ impl<'a> Algorithm<'a> { } // add external to target to have the real total target let is_criteria_fulfilled = self.stats.xvb_24h_avg - > self.stats.target_donation_hashrate + self.stats.xvb_external_hashrate; + >= self.stats.target_donation_hashrate + self.stats.xvb_external_hashrate; info!( "Algorithm | xvb_24h_avg({}) > target_donation_hashrate({}) : {}", self.stats.xvb_24h_avg,