The GmxProxy.sol::lowerThanMinEth()
contains unnecessary else
block that doesn't add additional functionality or clarity to the code.
The logic inside the else
block simply returns a boolean value (true) if the if
condition is false. This results in redundant code, as it could be replaced by a straightforward return
statement.
While the presence of the else
block does not introduce a direct vulnerability, it does slightly reduce code clarity and readability.
The else
block can be removed without affecting the functionality of the code.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.