pub fn update_stake<T: Config>(
who: &T::AccountId,
amount: BalanceOf<T>,
) -> DispatchResultExpand description
Update amount at stake for who.
Overwrites the existing stake amount. If passed amount is lower than the existing stake, the difference is unlocked.