diff --git a/cardano-api/src/Cardano/Api/TxBody.hs b/cardano-api/src/Cardano/Api/TxBody.hs index 0ece3c1e3c4..bbaf5979da5 100644 --- a/cardano-api/src/Cardano/Api/TxBody.hs +++ b/cardano-api/src/Cardano/Api/TxBody.hs @@ -1617,23 +1617,6 @@ instance Show (TxBody era) where . showsPrec 11 scriptValidity ) - showsPrec p (ShelleyTxBody ShelleyBasedEraBabbage - txbody txscripts redeemers txmetadata scriptValidity) = - showParen (p >= 11) - ( showString "ShelleyTxBody ShelleyBasedEraBabbage " - . showsPrec 11 txbody - . showChar ' ' - . showsPrec 11 txscripts - . showChar ' ' - . showsPrec 11 redeemers - . showChar ' ' - . showsPrec 11 txmetadata - . showChar ' ' - . showsPrec 11 scriptValidity - ) - - - instance HasTypeProxy era => HasTypeProxy (TxBody era) where data AsType (TxBody era) = AsTxBody (AsType era)