Skip to content

Commit 0ebda1e

Browse files
committed
docs: fix auction terms validation docstrings
1 parent 436e271 commit 0ebda1e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/HydraAuctionOnchain/Types/AuctionTerms.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ pvalidateAuctionTerms = phoistAcyclic $
103103
passert $(errCode AuctionTerms'Error'NonPositiveMinBidIncrement) $
104104
0 #< pfromData rec.minBidIncrement
105105

106-
-- The auction fee for each delegate must contain
107-
-- the min 2 ADA for the utxos that will be sent to the delegates
108-
-- during fee distribution.
106+
-- The auction fees for all delegates must be covered by
107+
-- the starting bid.
109108
passert $(errCode AuctionTerms'Error'InvalidStartingBid) $
110109
ptotalAuctionFees # auctionTerms #< rec.startingBid
111110

112-
-- The auction fees for all delegates must be covered by
113-
-- the starting bid.
111+
-- The auction fee for each delegate must contain
112+
-- the min 2.5 ADA for the utxos that will be sent to the delegates
113+
-- during fee distribution.
114114
passert $(errCode AuctionTerms'Error'InvalidAuctionFeePerDelegate) $
115115
pminAuctionFee #< rec.auctionFeePerDelegate
116116

0 commit comments

Comments
 (0)