referrerpolicy=no-referrer-when-downgrade

Function 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

  • stash: The stash account to be unstaked.
  • num_slashing_spans: Deprecated. This parameter is retained for backward compatibility. It no longer has any effect.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::force_unstake.