Skip to content

Commit

Permalink
Discard Stops
Browse files Browse the repository at this point in the history
  • Loading branch information
ffakenz committed May 24, 2024
1 parent 99ce702 commit 4048657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hydra-node/test/Hydra/Chain/Direct/TxTraceSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ instance StateModel Model where
-- it tried to perform).
validFailingAction :: Model -> Action Model a -> Bool
validFailingAction Model{headState, utxoInHead} = \case
Stop -> False
Decrement{snapshot} ->
headState == Open
&& decommitUTxO snapshot `Set.isSubsetOf` utxoInHead
Expand Down

0 comments on commit 4048657

Please sign in to comment.