Destroy accounts should release the existence deposits if any.
Currently, when accounts are being destroyed, deposits are not released. The dead_account function is executed forcefully, allowing the removal of the asset even if some accounts were not removed correctly.
In the PR we release the deposits on the account destroy and do not force the dead_account function.
Destroy accounts should release the existence deposits if any.
Currently, when accounts are being destroyed, deposits are not released. The
dead_account
function is executed forcefully, allowing the removal of the asset even if some accounts were not removed correctly. In the PR we release the deposits on the account destroy and do not force thedead_account
function.