Function pallet_capacity::types::unlock_chunks_reap_thawed
source · pub fn unlock_chunks_reap_thawed<T: Config>(
unlock_chunks: &mut UnlockChunkList<T>,
current_epoch: T::EpochNumber
) -> <<T as Config>::Currency as InspectFungible<<T as Config>::AccountId>>::Balance
Expand description
Deletes thawed chunks
Caller is responsible for updating free/locked balance on the token account.
Returns: the total amount reaped from unlocking