fn remove_dust(who: &T::AccountId, dust: BalanceOf<T>) {
			debug_assert!(dust != Zero::zero());
			if dust != Zero::zero() {
				let (imbalance, _remaining) = <T as Config>::Currency::slash(who, dust);
				let actual_removed = imbalance.peek();
				T::OnSlashed::on_unbalanced(imbalance);
				Self::deposit_event(Event::<T>::DustRemoved(who.clone(), actual_removed));
			}
		}
/// Removes some dust amount from a user's account by Currency::slash.
Removes some dust amount from a user's account by Currency::slash.
Removes some dust amount from a user ' s account by Currency :: slash .
fn remove_dust(who: &T::AccountId, dust: BalanceOf<T>) {
			debug_assert!(dust != Zero::zero());
			if dust != Zero::zero() {
				let (imbalance, _remaining) = <T as Config>::Currency::slash(who, dust);
				let actual_removed = imbalance.peek();
				T::OnSlashed::on_unbalanced(imbalance);
				Self::deposit_event(Event::<T>::DustRemoved(who.clone(), actual_removed));
			}
		}
fn remove_dust ( who : & T :: AccountId , dust : BalanceOf < T > ) { debug_assert ! ( dust Zero zero ( ) ) ; if dust != Zero :: zero ( ) { let ( imbalance , _remaining ) = < T as Config > :: Currency :: slash ( who , dust ) ; let actual_removed = imbalance . peek ( ) ; T :: OnSlashed :: on_unbalanced ( imbalance ) ; Self :: deposit_event ( Event :: < T > :: DustRemoved ( who . clone ( ) , actual_removed ) ) ; } }
Removes some dust amount from a user's account by Currency::slash.
Removes some dust amount from a user ' s account by Currency :: slash .
who
&T::AccountId
dust
BalanceOf<T>
who
&T::AccountId
dust
BalanceOf<T>