Function pallet_staking::testing_utils::create_stash_and_dead_payee
source · pub fn create_stash_and_dead_payee<T: Config>(
n: u32,
balance_factor: u32,
) -> Result<(T::AccountId, T::AccountId), &'static str>
Expand description
Create a stash and controller pair, where payouts go to a dead payee account. This is used to test worst case payout scenarios.