Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incrementing sufficient accounts references with saturating_add for s…
…afety. (#2768) Even though it is difficult to overflow the sufficients variable, since an attacker that is willing to rapidly increase the number must every time deposit a minimum deposit of a given asset, it is safer to use saturating_add(). --------- Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
- Loading branch information