Closed code423n4 closed 2 years ago
pauliax
'> 0' can be replaced with '!= 0' which is a bit cheaper:
if (data.length > 0) require(_promotionEndTimestamp > 0 if (_averageTotalSupplies[0] > 0)
Duplicate of https://github.com/code-423n4/2021-12-pooltogether-findings/issues/33
Handle
pauliax
Vulnerability details
Impact
'> 0' can be replaced with '!= 0' which is a bit cheaper: