MyCut

First Flight #23
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

Unchecked Transfer

Summary

no check on trnasfer success

Vulnerability Details

in Pot.sol , line 65

function _transferReward(address player, uint256 reward) internal {
// @audit no check on return success
i_token.transfer(player, reward);
}

Impact

transfer is considered successfull even if it is not

Tools Used

Recommendations

usage of safeERC20 library

Updates

Lead Judging Commences

equious Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.