Christmas Dinner

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

The `ChristimasDinner:_refundETH` NatSpec Assumes No Re-Entrancy, but Re-Entrancy Is Possible

Impact

  • The NatSpec documentation is incorrect, which could mislead developers or auditors reading the code.

Tools Used

Foundry

Recommendations

  • Remove the incorect natspec line.

/**
- * @dev ERC20 withdrawal of all user funds.
+ * @dev ERC20 withdrawal of all user funds.
* since refund() uses a Mutex Lock
* @param _to payable address passed from refund()
*/
function _refundETH(address payable _to) internal {
.
.
}
Updates

Lead Judging Commences

0xtimefliez Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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