Skip to content

Commit

Permalink
Make state spec fail for the right reason
Browse files Browse the repository at this point in the history
There is a member with more than 1 PT token minted
  • Loading branch information
ffakenz committed Feb 8, 2023
1 parent f66b0ed commit beaf917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra-node/test/Hydra/Chain/Direct/StateSpec.hs
Expand Up @@ -151,7 +151,7 @@ spec = parallel $ do
{ networkId = networkId cctx
, -- Here we use wrong cardano-keys to build the tx
-- as they are used to generate the PT tokens to be minted
peerVerificationKeys = ownVerificationKey cctx : List.tail (peerVerificationKeys cctx)
peerVerificationKeys = List.head (peerVerificationKeys cctx) : peerVerificationKeys cctx
, ownVerificationKey = ownVerificationKey cctx
, ownParty = ownParty cctx
, scriptRegistry = scriptRegistry cctx
Expand Down

0 comments on commit beaf917

Please sign in to comment.