From cb19d87deddfc3ee5f00181675cf3cea392de9b5 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Fri, 20 Dec 2024 10:16:10 +0000 Subject: [PATCH] Remove unused Exception (LogicError tx) instance --- hydra-node/src/Hydra/HeadLogic/Error.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/hydra-node/src/Hydra/HeadLogic/Error.hs b/hydra-node/src/Hydra/HeadLogic/Error.hs index 07a429e7cd5..bbd5f0d025f 100644 --- a/hydra-node/src/Hydra/HeadLogic/Error.hs +++ b/hydra-node/src/Hydra/HeadLogic/Error.hs @@ -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