Christmas Dinner

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

Wrong note for the _refundETH function

Summary

There is function _refundETH for withdrawal of all user's ETH funds.

Vulnerability Details

There is wrong description for function insted of ERC20 should be ETH.

/**
* @dev ERC20 withdrawal of all user funds. No concern for Reentrancy
* since refund() uses a Mutex Lock
* @param _to payable address passed from refund()
*/

Impact

may mislead the developer

Tools Used

manual review

Recommendations

/**
//@audit change ERC to ETH
* @dev ETH withdrawal of all user funds. No concern for Reentrancy
* since refund() uses a Mutex Lock
* @param _to payable address passed from refund()
*/
Updates

Lead Judging Commences

0xtimefliez Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
0xtimefliez Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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