Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haider-rs committed Feb 17, 2025
1 parent 007b06f commit bfd9e69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/tasks/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use polkadot_sdk::{frame_benchmarking, frame_support, frame_system, sp_core, sp_
use sp_runtime::{BoundedVec, Vec};
use sp_std::vec;
use time_primitives::{
AccountId, BatchId, Commitment, ElectionsInterface, ErrorMsg, GmpEvents, NetworkId, PublicKey,
AccountId, Commitment, ElectionsInterface, ErrorMsg, GmpEvents, NetworkId, PublicKey,
ShardStatus, ShardsInterface, Task, TaskId, TaskResult, TasksInterface, TssPublicKey,
TssSignature,
};
Expand Down Expand Up @@ -164,7 +164,7 @@ benchmarks! {
"New task not created"
);
assert!(
!FailedBatchIds::<T>::contains_key(&batch_id),
!FailedBatchIds::<T>::contains_key(batch_id),
"Batch not removed from failed list"
);
}
Expand Down

0 comments on commit bfd9e69

Please sign in to comment.