Skip to content

Commit

Permalink
Sort the parties before comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Mar 17, 2023
1 parent 2141d70 commit c75b024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra-node/exe/hydra-node/Main.hs
Expand Up @@ -139,7 +139,7 @@ main = do
let res = flip execState [] $ do
when (Hydra.Chain.contestationPeriod params /= cp) $
modify (\s -> s <> ["Contestation period does not match. "])
when (Hydra.Chain.parties params /= envParties) $
when (sort (Hydra.Chain.parties params) /= sort envParties) $
modify (\s -> s <> ["Parties mismatch. "])
in case res of
[] -> []
Expand Down

0 comments on commit c75b024

Please sign in to comment.