Function pallet_staking::dispatchables::force_unstake
source · pub fn force_unstake<T: Config>(stash: T::AccountId, num_slashing_spans: u32)
Expand description
Force a current staker to become completely unstaked, immediately.
The dispatch origin must be Root.
§Parameters
num_slashing_spans
: Refer to comments onCall::withdraw_unbonded
for more details.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_unstake
.