Skip to content

Commit

Permalink
Remove redundant constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
v0d1ch committed Oct 10, 2024
1 parent 6ed356e commit 3ad1727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-node/src/Hydra/API/ClientInput.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Hydra.API.ClientInput where

import Hydra.Prelude

import Hydra.Tx (IsTx, TxIdType, UTxOType)
import Hydra.Tx (IsTx, TxIdType)

data ClientInput tx
= Init
Expand All @@ -23,7 +23,7 @@ deriving stock instance IsTx tx => Show (ClientInput tx)
deriving anyclass instance IsTx tx => ToJSON (ClientInput tx)
deriving anyclass instance IsTx tx => FromJSON (ClientInput tx)

instance (Arbitrary tx, Arbitrary (UTxOType tx), Arbitrary (TxIdType tx)) => Arbitrary (ClientInput tx) where
instance (Arbitrary tx, Arbitrary (TxIdType tx)) => Arbitrary (ClientInput tx) where
arbitrary = genericArbitrary

-- NOTE: Somehow, can't use 'genericShrink' here as GHC is complaining about
Expand Down

0 comments on commit 3ad1727

Please sign in to comment.