calculate the starting time of a proposal upon creation
This commit is contained in:
parent
2820831dad
commit
9bc2acb9ca
5 changed files with 77 additions and 31 deletions
|
|
@ -198,7 +198,7 @@ createProposalStartingTime = phoistAcyclic $
|
|||
# (currentTimeF.lowerBound + currentTimeF.upperBound)
|
||||
# 2
|
||||
|
||||
tcassert "Given time range should be tight enough" $
|
||||
tcassert "createProposalStartingTime: given time range should be tight enough" $
|
||||
duration #<= maxDuration
|
||||
|
||||
pure $ pcon $ PProposalStartingTime startingTime
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue