See Details
The vulnerability in the code stems from the absence of a check to prevent self-transfers.
This oversight allows the transfer function to erroneously transfer funds to the same address.
This vulnerability undermines the correctness of fund transfers within the contract and poses a risk
to the integrity of user balances.
Funds are lost as the code fails to deduct the transferred amount from the sender's balance.
Manual code review
Add condition to prevent transfer between same addresses. Reference
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.