Skip to content

Commit

Permalink
Remove unused function matchFanout
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 8, 2024
1 parent 540191e commit 7a0f8be
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hydra-node/test/Hydra/BehaviorSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1183,11 +1183,6 @@ openHead chain n1 n2 = do
waitUntil [n1, n2] $ Committed testHeadId bob (utxoRef 2)
waitUntil [n1, n2] $ HeadIsOpen{headId = testHeadId, utxo = utxoRefs [1, 2]}

matchFanout :: PostChainTx tx -> Bool
matchFanout = \case
FanoutTx{} -> True
_ -> False

assertHeadIsClosed :: (HasCallStack, MonadThrow m) => ServerOutput tx -> m ()
assertHeadIsClosed = \case
HeadIsClosed{} -> pure ()
Expand Down

0 comments on commit 7a0f8be

Please sign in to comment.