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 authored and ch1bo committed Mar 17, 2023
1 parent 74c5973 commit 4b0fb6b
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 4b0fb6b

Please sign in to comment.