From bfd9e69da81ef295cab03d924f07ad044e5fe0ed Mon Sep 17 00:00:00 2001 From: Haider-Ali-DS Date: Mon, 17 Feb 2025 17:01:30 +0500 Subject: [PATCH] clippy fix --- pallets/tasks/src/benchmarking.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/tasks/src/benchmarking.rs b/pallets/tasks/src/benchmarking.rs index a89833fa3..50e12cb60 100644 --- a/pallets/tasks/src/benchmarking.rs +++ b/pallets/tasks/src/benchmarking.rs @@ -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, }; @@ -164,7 +164,7 @@ benchmarks! { "New task not created" ); assert!( - !FailedBatchIds::::contains_key(&batch_id), + !FailedBatchIds::::contains_key(batch_id), "Batch not removed from failed list" ); }