Block: 55

Author: AuditProfile

AuditProfile

Security blog

Add deposit to account

#deposit

#token. array

Hint

How about to take a look at the array?

Answer

No check for 0 token transfers. So Ttere is a possibility of creating many transactions with zero transfer, which would fill the s.accts[account].depositIdList[token] array. Eventually, it could get so big that it would waste the entire transaction's gas on overshooting.

Регистрация прошла успешно! Спасибо за внимание!

loader