From 900498a7a2cea1aebef5f92d0e979964eadd188c Mon Sep 17 00:00:00 2001 From: Cyrix126 Date: Thu, 29 Aug 2024 15:58:39 +0200 Subject: [PATCH] fix: clippy --- src/helper/xvb/algorithm.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helper/xvb/algorithm.rs b/src/helper/xvb/algorithm.rs index 282de09..c87de9c 100644 --- a/src/helper/xvb/algorithm.rs +++ b/src/helper/xvb/algorithm.rs @@ -475,8 +475,7 @@ impl<'a> Algorithm<'a> { BLOCK_PPLNS_WINDOW_MAIN }; let mut minimum_hr = ((difficulty / (pws * SECOND_PER_BLOCK_P2POOL)) as f32 - * (1.0 + (p2pool_buffer as f32 / 100.0)) as f32) - // * 1.05) + * (1.0 + (p2pool_buffer as f32 / 100.0))) - p2pool_external_hashrate; info!("Algorithm | (difficulty({}) / (window pplns blocks({}) * seconds per p2pool block({})) * (BUFFER({})) / 100) - outside HR({}H/s) = minimum HR({}H/s) to keep a share.",