Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrix126 committed Aug 29, 2024
1 parent 6161464 commit 900498a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/helper/xvb/algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 900498a

Please sign in to comment.