Skip to content

Commit

Permalink
fix bid after auction has expired
Browse files Browse the repository at this point in the history
  • Loading branch information
olgaklimenko committed Oct 18, 2021
1 parent a57d53d commit 9caf64e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -275,7 +275,7 @@ bidOnAuction marketplace BidOnAuctionParams {..} = do
Core.getAuctionFromBundle bundleEntry

currTime <- currentTime
-- when auction is expired autocall completeAuction and throwError
-- when auction has expired call completeAuction and throwError
when (currTime > (Auction.aEndTime auction)) $ do
completeAnAuction marketplace $ CloseLotParams boapItemId
throwError "Auction has expired."
Expand Down

0 comments on commit 9caf64e

Please sign in to comment.