From c30e3f558a41360c75a0d773afcbb176efce622c Mon Sep 17 00:00:00 2001 From: talhadaar Date: Mon, 16 Sep 2024 17:48:55 +0500 Subject: [PATCH] (chore) minor cargo clippy fix --- pallets/parachain-staking/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/parachain-staking/src/lib.rs b/pallets/parachain-staking/src/lib.rs index de566d23..8de5e1c3 100644 --- a/pallets/parachain-staking/src/lib.rs +++ b/pallets/parachain-staking/src/lib.rs @@ -2857,7 +2857,7 @@ pub mod pallet { /// At SessionManager::new_session_genesis(1) we take snapshot of collators for round 0, but /// skip delayed reward calculation pub(crate) fn prepare_delayed_rewards( - collators: &Vec, + collators: &[T::AccountId], old_round: SessionIndex, session_index: SessionIndex, ) {