Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed May 9, 2024
1 parent 2728b8c commit 22cda09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pallets/dapp-staking-v3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,9 @@ pub mod pallet {
dapp_reward_pool,
),
#[cfg(feature = "runtime-benchmarks")]
TierAssignment::Dummy => (DAppTierRewardsFor::<T>::default(), 0),
TierAssignment::Dummy => {
(DAppTierRewardsFor::<T>::default(), 0, BoundedVec::new())
}
};
if rank_rewards.iter().any(|x| !x.is_zero()) {
RankRewards::<T>::insert(&current_era, rank_rewards);
Expand Down

0 comments on commit 22cda09

Please sign in to comment.