fix: clippy

This commit is contained in:
Cyrix126 2024-08-29 15:58:39 +02:00
parent 6161464a32
commit 900498a7a2

View file

@ -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.",