Skip to content

Commit

Permalink
Update marlowe-actus/src/Language/Marlowe/ACTUS/Model/SCHED/ContractS…
Browse files Browse the repository at this point in the history
…chedule.hs

Co-authored-by: Pablo Lamela  <[email protected]>
  • Loading branch information
yveshauser and palas authored Sep 9, 2021
1 parent 377e5ef commit f555d03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import Language.Marlowe.ACTUS.Model.Utility.YearFraction (yearF
import Language.Marlowe.ACTUS.Ops (YearFractionOps (_y))

schedule :: EventType -> ContractTerms -> Maybe [ShiftedDay]
schedule ev c = let m = maturity c in schedule' ev c { ct_MD = m }
schedule ev c = schedule' ev c { ct_MD = maturity c }
where

schedule' :: EventType -> ContractTerms -> Maybe [ShiftedDay]
Expand Down

0 comments on commit f555d03

Please sign in to comment.