Function pallet_staking::testing_utils::create_stash_controller
source · pub fn create_stash_controller<T: Config>(
n: u32,
balance_factor: u32,
destination: RewardDestination<T::AccountId>,
) -> Result<(T::AccountId, T::AccountId), &'static str>
Expand description
Create a stash and controller pair.