#math
Could it be a matter of math operators?
Instead of the >= sign you should just use >. In the presented code, any participant can send an amount equal to the current winner and take his place, which is likely to break the game logic.
by RareSkills
by Jeiwan
by RareSkills
by RareSkills
by Andreas M. Antonopoulos, Gavin Wood
by Micah Dameron
Compare execution layer differences between chains
Dive deep into the storage of any contract