diff --git a/src/Auctions/Auction.sol b/src/Auctions/Auction.sol index dabc85b..df883d9 100644 --- a/src/Auctions/Auction.sol +++ b/src/Auctions/Auction.sol @@ -134,7 +134,7 @@ contract Auction is Governance, ReentrancyGuard { require(auctionLength == 0, "initialized"); require(_want != address(0), "ZERO ADDRESS"); require(_auctionLength != 0, "length"); - require(_auctionLength < _auctionCooldown, "cooldown"); + require(_auctionLength <= _auctionCooldown, "cooldown"); require(_startingPrice != 0, "starting price"); // Cannot have more than 18 decimals. diff --git a/src/Bases/Auctioneer/BaseAuctioneer.sol b/src/Bases/Auctioneer/BaseAuctioneer.sol index e36ccb6..78a3305 100644 --- a/src/Bases/Auctioneer/BaseAuctioneer.sol +++ b/src/Bases/Auctioneer/BaseAuctioneer.sol @@ -98,7 +98,7 @@ abstract contract BaseAuctioneer is BaseHealthCheck, ReentrancyGuard { require(auctionLength == 0, "initialized"); require(_auctionWant != address(0), "ZERO ADDRESS"); require(_auctionLength != 0, "length"); - require(_auctionLength < _auctionCooldown, "cooldown"); + require(_auctionLength <= _auctionCooldown, "cooldown"); require(_auctionStartingPrice != 0, "starting price"); // Cannot have more than 18 decimals.