diff --git a/pallets/staking/src/benchmarking.rs b/pallets/staking/src/benchmarking.rs index 05f693feb..fd11212ae 100644 --- a/pallets/staking/src/benchmarking.rs +++ b/pallets/staking/src/benchmarking.rs @@ -18,7 +18,7 @@ use super::*; #[allow(unused_imports)] use crate::Pallet as Staking; -use entropy_shared::{MAX_SIGNERS, AttestationHandler}; +use entropy_shared::{AttestationHandler, MAX_SIGNERS}; use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, whitelisted_caller}; use frame_support::{ assert_ok, ensure, @@ -90,7 +90,6 @@ fn prep_bond_and_validate( reward_destination, )); - if validate_also { let server_info = ServerInfo { tss_account: threshold,