Closed code423n4 closed 2 years ago
cmichel
The sYETIToken.mint function requires msg.sender != address(0) which is never the case as nobody has the private key for the zero EOA. The code can be removed to save gas.
sYETIToken.mint
msg.sender != address(0)
@LilYeti: Duplicate #103
Handle
cmichel
Vulnerability details
The
sYETIToken.mint
function requiresmsg.sender != address(0)
which is never the case as nobody has the private key for the zero EOA. The code can be removed to save gas.