Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: high
Invalid

PuppyRaffle::selectWinner lags the implementation to send fees to fee address

Summary

No fees sent to the fee address in the PuppyRaffle::selectWinner() function

Vulnerability Details

The selectWinner function doesn't call the PuppyRaffle::withdrawFees() function to send eth to fee address, this will lead to accumulation of funds in the PuppyRaffle contract and it will remain locked in to the contract.

Impact

Locking of funds in the contract.

Tools Used

Manual Review

Recommendations

To call the withdrawFees() function in the selectWinner() function after sending eth to winner.

Updates

Lead Judging Commences

Hamiltonite Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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