From d4e93204cc6be1c879dba076082d29be6a59a95c Mon Sep 17 00:00:00 2001 From: Andrew Zhou Date: Wed, 4 Sep 2024 14:24:19 -0700 Subject: [PATCH] only while auction open --- src/Strategy.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Strategy.sol b/src/Strategy.sol index cb3a4860..f0bef59d 100644 --- a/src/Strategy.sol +++ b/src/Strategy.sol @@ -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" );