Not needed zero address check #160
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
0x0x0x
Vulnerability details
https://github.com/code-423n4/2021-12-sublime/blob/9df1b7c4247f8631647c7627a8da9bdc16db8b11/contracts/Verification/Verification.sol#L150
In
Verfication.sol#unlinkAddress
, there is a not needed zero address check.Since,
msg.sender != address(0)
, there is no need for a zero address check here.The text was updated successfully, but these errors were encountered: