mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-10 17:11:03 +00:00
remove outdated comment (#8442)
This commit is contained in:
committed by
GitHub
parent
ee8e7f1bcd
commit
aeff56260c
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user