Skip to content

Commit 4a225c7

Browse files
committed
Remove redundant constraint
1 parent 023e95c commit 4a225c7

File tree

1 file changed

+1
-1
lines changed
  • ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley

1 file changed

+1
-1
lines changed

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Eras.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ instance SupportsTwoPhaseValidation ConwayEra where
363363
-- with this justification.
364364
newtype WrapTx era = WrapTx {unwrapTx :: Core.Tx era}
365365

366-
instance ShelleyBasedEra AllegraEra => Core.TranslateEra AllegraEra WrapTx where
366+
instance Core.TranslateEra AllegraEra WrapTx where
367367
type TranslationError AllegraEra WrapTx = Core.TranslationError AllegraEra SL.ShelleyTx
368368
translateEra ctxt = fmap WrapTx . Core.translateEra ctxt . unwrapTx
369369

0 commit comments

Comments
 (0)