fix tests
This commit is contained in:
parent
cefc6740f0
commit
9dfb73550a
2 changed files with 6 additions and 4 deletions
|
|
@ -310,9 +310,11 @@ unlock ps = builder
|
|||
removeLocks v c =
|
||||
filter $ \(ProposalLock pid action) ->
|
||||
pid == defProposalId
|
||||
&& case action of
|
||||
Voted _ _ -> v
|
||||
_ -> c
|
||||
&& not
|
||||
( case action of
|
||||
Voted _ _ -> v
|
||||
_ -> c
|
||||
)
|
||||
|
||||
stakeOutputDatum =
|
||||
stakeInputDatum
|
||||
|
|
|
|||
|
|
@ -424,7 +424,7 @@ specs =
|
|||
, Unlock.mkTestTree
|
||||
"unlock an irrelevant stake"
|
||||
(Unlock.mkUnockIrrelevantStakes nStakes)
|
||||
(Unlock.Validity False True)
|
||||
(Unlock.Validity False False)
|
||||
, Unlock.mkTestTree
|
||||
"creator: retract votes"
|
||||
(Unlock.mkCreatorRetractVotes nStakes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue