Skip to content

Commit

Permalink
Fix assertion in the new edited test in DirectChain
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Dec 9, 2024
1 parent 3c150c1 commit 14ef731
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hydra-cluster/test/Test/DirectChainSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,8 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
, contestationDeadline = deadline
}
let expectedUTxO =
Snapshot.utxo snapshot
<> fromMaybe mempty (Snapshot.utxoToCommit snapshot)
<> fromMaybe mempty (Snapshot.utxoToDecommit snapshot)
(Snapshot.utxo snapshot <> fromMaybe mempty (Snapshot.utxoToCommit snapshot))
`withoutUTxO` fromMaybe mempty (Snapshot.utxoToDecommit snapshot)
aliceChain `observesInTime` OnFanoutTx headId
failAfter 5 $
waitForUTxO node expectedUTxO
Expand Down

0 comments on commit 14ef731

Please sign in to comment.