Skip to content

Commit

Permalink
Update pallets/staking/src/benchmarking.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
  • Loading branch information
JesseAbram and HCastano authored Aug 29, 2024
1 parent f185d77 commit b3d4f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/staking/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <T as pallet_session::Config>::ValidatorId::try_from(caller.clone()).or(Err(Error::<T>::InvalidValidatorId)).unwrap();
Expand Down

0 comments on commit b3d4f2c

Please sign in to comment.