fix tests

This commit is contained in:
Hongrui Fang 2022-11-25 18:42:39 +08:00
parent cefc6740f0
commit 9dfb73550a
No known key found for this signature in database
GPG key ID: F10AB2CCE24113DD
2 changed files with 6 additions and 4 deletions

View file

@ -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