You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you add the assumption that the recipient is different from the sender, require(recipient != address(this));, SMTChecker will prove that assertion holds.
While we could improve the analysis for this particular example, it is also not very realistic, because recipient here is always 0.
In general, you would want to make sure that you are not sending to yourself.
Description
Unable to correctly determine that the current balance is 0 after transferring out all balances.
Environment
Steps to Reproduce
The text was updated successfully, but these errors were encountered: