The message in the enter_raffle
function doesn't display real reason why call was reverted to user.
In the enter_raffle
function on L115 if msg.value
is not equal to the ENTRANCE_FEE
transaction will be reverted with the next message: "SnekRaffle: Send more to enter raffle". However, the real reason is that msg.value is not equal to the ENTRANCE_FEE
.
Low
VS Code.
Consider changing the error message to a more meaningful message.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.