There is a payble
function in the GMXVault.deposit()
, but msg.value
isn't used - therefore the function payable state modifier isn't necessary.
It's danger for users if they send ETH by mistake.
This could lead to users losing the eth sent with this transaction, which would be better served by reverting instead of accepting a non-zero value of msg.value
Manual Review
Simple fix, remove the payable
in GMXVault.deposit()
.
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.