remove outdated comment (#8442)

This commit is contained in:
Guillaume Thiolliere
2021-03-24 11:06:41 +01:00
committed by GitHub
parent ee8e7f1bcd
commit aeff56260c
-2
View File
@@ -1495,8 +1495,6 @@ impl<T: Config> Pallet<T> {
Account::<T>::try_mutate(id, &dest, |a| -> DispatchResult {
let new_balance = a.balance.saturating_add(amount);
// This is impossible since `new_balance > amount > min_balance`, but we can
// handle it, so we do.
ensure!(new_balance >= details.min_balance, Error::<T>::BalanceLow);
if a.balance.is_zero() {