pub fn create_stash_and_dead_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, where the controller is dead, and payouts go to controller. This is used to test worst case payout scenarios.