Skip to content

Commit

Permalink
Merge pull request #15 from term-finance/onlyWhileAuctionOpen
Browse files Browse the repository at this point in the history
only while auction open
  • Loading branch information
aazhou1 authored Sep 6, 2024
2 parents 2272739 + d4e9320 commit 672462f
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 672462f

Please sign in to comment.