mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
clippy
This commit is contained in:
parent
09640fb4ea
commit
f42d71b164
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ pub fn calculate_block_reward(
|
|||
.unwrap();
|
||||
let effective_median_bw: u128 = median_bw.try_into().unwrap();
|
||||
|
||||
(((base_reward as u128 * multiplicand) / effective_median_bw) / effective_median_bw)
|
||||
(((u128::from(base_reward) * multiplicand) / effective_median_bw) / effective_median_bw)
|
||||
.try_into()
|
||||
.unwrap()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue