mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-11-16 15:58:17 +00:00
fix clippy
This commit is contained in:
parent
9fe3738039
commit
fc544b365a
1 changed files with 0 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue