fix clippy
Some checks are pending
Audit / audit (push) Waiting to run
Deny / audit (push) Waiting to run

This commit is contained in:
SyntheticBird45 2024-10-15 23:16:27 +02:00
parent 9fe3738039
commit fc544b365a
Signed by untrusted user who does not match committer: SyntheticBird
GPG key ID: C76973F748521E11

View file

@ -48,7 +48,6 @@ fn calculate_base_reward(already_generated_coins: u64, hf: HardFork) -> u64 {
.max(MINIMUM_REWARD_PER_MIN * target_mins) .max(MINIMUM_REWARD_PER_MIN * target_mins)
} }
#[expect(clippy::cast_lossless)]
/// Calculates the miner reward for this block. /// Calculates the miner reward for this block.
/// ///
/// ref: <https://monero-book.cuprate.org/consensus_rules/blocks/reward.html#calculating-block-reward> /// ref: <https://monero-book.cuprate.org/consensus_rules/blocks/reward.html#calculating-block-reward>