From b3d4f2c8868055c6915ed72781acb25fd3bed7cf Mon Sep 17 00:00:00 2001 From: JesseAbram <33698952+JesseAbram@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:07:42 -0700 Subject: [PATCH] Update pallets/staking/src/benchmarking.rs Co-authored-by: Hernando Castano --- pallets/staking/src/benchmarking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/staking/src/benchmarking.rs b/pallets/staking/src/benchmarking.rs index e7e17f306..bb3bc8d7f 100644 --- a/pallets/staking/src/benchmarking.rs +++ b/pallets/staking/src/benchmarking.rs @@ -137,7 +137,7 @@ benchmarks! { } unbond { - let c in 0 .. MAX_SIGNERS as u32; + let s in 0 .. MAX_SIGNERS as u32; let caller: T::AccountId = whitelisted_caller(); let validator_id_res = ::ValidatorId::try_from(caller.clone()).or(Err(Error::::InvalidValidatorId)).unwrap();