fix some typo

This commit is contained in:
Hongrui Fang 2022-06-17 23:36:44 +08:00
parent dd2fae059f
commit 2f46594fe7
3 changed files with 12 additions and 12 deletions

View file

@ -287,7 +287,7 @@ proposalValidator proposal =
pisJust #$ plookup # voteFor # voteMap
-- Ensure that no lock with the current proposal id has been put on the stake.
pguardC "Same stake shouldn't vote on the same propsoal twice" $
pguardC "Same stake shouldn't vote on the same proposal twice" $
pnot #$ pany
# plam
( \((pfield @"proposalTag" #) . pfromData -> pid) ->
@ -404,7 +404,7 @@ proposalValidator proposal =
--------------------------------------------------------------------------
PUnlock r -> unTermCont $ do
-- At draft stage, the votes should be empty.
pguardC "Shouldn't retract votes from a draft propsoal" $
pguardC "Shouldn't retract votes from a draft proposal" $
pnot #$ proposalF.status #== pconstantData Draft
-- This is the vote option we're retracting from.