mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 15:27:46 +00:00
fix: clippy
This commit is contained in:
parent
6161464a32
commit
900498a7a2
1 changed files with 1 additions and 2 deletions
|
@ -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.",
|
||||
|
|
Loading…
Reference in a new issue