Adjusts the staking ledger by withdrawing any excess staked amount.
This function corrects cases where a user's recorded stake in the ledger
exceeds their actual staked funds. This situation can arise due to cases such as
external slashing by another pallet, leading to an inconsistency between the ledger
and the actual stake.
Adjusts the staking ledger by withdrawing any excess staked amount.
This function corrects cases where a user's recorded stake in the ledger exceeds their actual staked funds. This situation can arise due to cases such as external slashing by another pallet, leading to an inconsistency between the ledger and the actual stake.