Skip to content

Commit

Permalink
Remove unused function isInitialSnapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 8, 2024
1 parent 1fc4d84 commit 8c3b112
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hydra-tx/src/Hydra/Tx/Snapshot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,6 @@ getSnapshot = \case
}
ConfirmedSnapshot{snapshot} -> snapshot

-- | Tell whether a snapshot is the initial snapshot coming from the collect-com
-- transaction.
isInitialSnapshot :: ConfirmedSnapshot tx -> Bool
isInitialSnapshot = \case
InitialSnapshot{} -> True
ConfirmedSnapshot{} -> False

instance (Arbitrary tx, Arbitrary (UTxOType tx), IsTx tx) => Arbitrary (ConfirmedSnapshot tx) where
arbitrary = do
ks <- arbitrary
Expand Down

0 comments on commit 8c3b112

Please sign in to comment.