Function pallet_staking::testing_utils::create_stash_controller_with_balance [−][src]
pub fn create_stash_controller_with_balance<T: Config>(
n: u32,
balance: BalanceOf<T>,
destination: RewardDestination<T::AccountId>
) -> Result<(T::AccountId, T::AccountId), &'static str>
Expand description
Create a stash and controller pair with fixed balance.