Closed code423n4 closed 2 years ago
pauliax
Under normal circumstances, block.timestamp is always > 0, so the first condition is not really necessary:
require( _promotionEndTimestamp > 0 && _promotionEndTimestamp >= block.timestamp, "TwabRewards/promotion-not-active" );
Duplicate of https://github.com/code-423n4/2021-12-pooltogether-findings/issues/19
Handle
pauliax
Vulnerability details
Impact
Under normal circumstances, block.timestamp is always > 0, so the first condition is not really necessary: