Skip to content

Commit

Permalink
Remove unused Exception (LogicError tx) instance
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Dec 20, 2024
1 parent 3216cab commit cb19d87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hydra-node/src/Hydra/HeadLogic/Error.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ data LogicError tx
| NotOurHead {ourHeadId :: HeadId, otherHeadId :: HeadId}
deriving stock (Generic)

instance (Typeable tx, Show (Input tx), Show (HeadState tx), Show (RequirementFailure tx)) => Exception (LogicError tx)

instance (Arbitrary (Input tx), Arbitrary (HeadState tx), Arbitrary (RequirementFailure tx)) => Arbitrary (LogicError tx) where
arbitrary = genericArbitrary
shrink = genericShrink
Expand Down

0 comments on commit cb19d87

Please sign in to comment.