Skip to content

Commit

Permalink
Comment MustSatisfyAnyOf. (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmrocze authored and koslambrou committed Jun 22, 2022
1 parent eba253b commit 73421c7
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -70,6 +70,8 @@ data TxConstraint =
| MustPayToOtherScript ValidatorHash (Maybe StakeValidatorHash) Datum Value
-- ^ The transaction must create a transaction output with a script address.
| MustSatisfyAnyOf [[TxConstraint]]
-- ^ The transaction must satisfy constraints given as an alternative of conjuctions (DNF),
-- that is `check (MustSatisfyAnyOf xs) = any (all check) xs`
deriving stock (Haskell.Show, Generic, Haskell.Eq)
deriving anyclass (ToJSON, FromJSON)

Expand Down

0 comments on commit 73421c7

Please sign in to comment.