The createTradingAccountAndMulticall
function is marked as payable
, which means it can receive Ether (ETH) when called. However, the function's code does not utilize msg.value
, the parameter that represents the amount of ETH sent with the call.
The payable
modifier suggests that the function expects ETH to be sent with the call. This can be misleading to users and developers who might assume that sending ETH has some effect within the function.
Since the function is marked as payable
but does not use msg.value
, any ETH sent to this function call will not be utilized within the function.
If the function is not designed to handle ETH, removing the payable
modifier will prevent ETH from being sent and eliminate potential confusion.
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.