52937 sc insight redundant raffle ticket balance check
Description
Brief/Intro
Vulnerability Details
// Raffle.sol - Line 194
(,,,, uint256 userRaffleTickets,,) = spinContract.getUserData(msg.sender);
if (userRaffleTickets < ticketAmount) revert InsufficientTickets();Impact Details
References
Proof of Concept
Proof of Concept
Previous51502 sc low enabling transfer restrictions permanently blocks minting and burningNext50691 sc insight no validator limit can lead to dos
Was this helpful?