fix typos

This commit is contained in:
Hongrui Fang 2022-10-28 18:44:51 +08:00
parent b19faa7cfe
commit 46ff6023e6
No known key found for this signature in database
GPG key ID: F10AB2CCE24113DD
3 changed files with 4 additions and 4 deletions

View file

@ -890,7 +890,7 @@ pwinner' = phoistAcyclic $
pfoldr # f # 0 # l #== 1
exceedQuorum =
ptraceIfFalse "Highest vote count should exceed the minimum threshold" $
ptraceIfFalse "Highest vote count should be at least the minimum threshold" $
quorum #<= highestVotes
pure $

View file

@ -478,7 +478,7 @@ proposalValidator =
)
# sctxF.inputStakes
pguardC "Exceed minimum amount" $
pguardC "At least minimum amount" $
thresholdsF.vote #<= totalStakeAmount
pguardC "Input proposal must be in VotingReady state" $

View file

@ -416,7 +416,7 @@ data PTimingRelation (s :: S)
instance DerivePlutusType PTimingRelation where
type DPTStrat _ = PlutusTypeEnumData
{- | Return truw if a relation is 'PWithin'.
{- | Return true if a relation is 'PWithin'.
@since 1.0.0
-}
@ -455,7 +455,7 @@ instance DerivePlutusType PPeriod where
{- | Compute the relation between current time range and the given peroid,
providing the starting time and timing configuration of a proposal. If the
relation cannot be ddetermined, error out.
relation cannot be determined, error out.
@since 1.0.0
-}