Skip to content

Commit

Permalink
only while auction open
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Sep 4, 2024
1 parent 2272739 commit d4e9320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,8 @@ contract Strategy is BaseStrategy, Pausable, ReentrancyGuard {
termAuction.termAuctionOfferLocker()
);
require(
block.timestamp > offerLocker.auctionStartTime() ||
block.timestamp < termAuction.auctionEndTime(),
block.timestamp > offerLocker.auctionStartTime() &&
block.timestamp < offerLocker.revealTime(),
"Auction not open"
);

Expand Down

0 comments on commit d4e9320

Please sign in to comment.