Block: 22

Author: Anonymous

AuditProfile

Security blog

Cancel on hold transfers

#cancel

#order

#memory

Hint

How can you fix in the contract that the action was canceled?

Answer

There is no check to see if the transaction has been cancelled before. In other words, an attacker can ‘pour’ one and the same transaction into the array several times, it will run through a loop and withdraw money from the contract.

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

loader