Christmas Dinner

First Flight #31
Beginner FriendlyFoundrySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

Wrong natspec comment

Summary

function _refundETH has wrong comments

/**
@> * @dev ERC20 withdrawal of all user funds. No concern for Reentrancy
* since refund() uses a Mutex Lock
* @param _to payable address passed from refund()
*/
function _refundETH(address payable _to) internal {
uint256 refundValue = etherBalance[_to];
_to.transfer(refundValue);
etherBalance[_to] = 0;
}

Vulnerability Details

Impact

Tools Used

Recommendations

Change the comment to ETH withdrawal of all user funds...

Updates

Lead Judging Commences

0xtimefliez Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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

Give us feedback!