File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
cardano-api/src/Cardano/Api Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -587,8 +587,8 @@ filterUnRegDRepCreds sbe (Exp.Certificate cert) =
587587 ShelleyBasedEraBabbage -> Nothing
588588 ShelleyBasedEraConway ->
589589 conwayEraOnwardsConstraints ConwayEraOnwardsConway $
590- fmap fst $
591- Ledger. getUnRegDRepTxCert cert
590+ fst
591+ <$> Ledger. getUnRegDRepTxCert cert
592592
593593-- ----------------------------------------------------------------------------
594594-- Internal conversion functions
Original file line number Diff line number Diff line change @@ -19,10 +19,7 @@ module Cardano.Api.Experimental.Tx.Internal.Certificate
1919 )
2020where
2121
22- import Cardano.Api.Certificate.Internal qualified as Api
23- import Cardano.Api.Era.Internal.Eon.ConwayEraOnwards
2422import Cardano.Api.Era.Internal.Eon.ShelleyBasedEra
25- import Cardano.Api.Era.Internal.Eon.ShelleyToBabbageEra qualified as Api
2623import Cardano.Api.Error
2724import Cardano.Api.Experimental.Era
2825import Cardano.Api.HasTypeProxy
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ legacyComparison (TextEnvelopeType expectedType) (TextEnvelopeType actualType) =
185185 (" Tx AlonzoEra" , " Unwitnessed Tx AlonzoEra" ) -> True
186186 (" Tx BabbageEra" , " Unwitnessed Tx BabbageEra" ) -> True
187187 (" Tx ConwayEra" , " Unwitnessed Tx ConwayEra" ) -> True
188+ (" Certificate" , " CertificateConway" ) -> True
188189 (expectedOther, expectedActual) -> expectedOther == expectedActual
189190
190191-- ----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments