51918 sc insight redundant zero address checks for router address
Description
Brief / Intro
require(routerAddress_ != address(0), "Router address cannot be zero");Vulnerability Details
if (routerAddr == address(0)) {
revert RouterNotSet();
}Impact Details
References
Proof of Concept
Previous52104 sc high removed reward tokens block validator commission claimsNext52732 sc medium permanent dos of purchase token change
Was this helpful?