From ad70dc85e5bc304b1a637dd22c1fe199fa5e2189 Mon Sep 17 00:00:00 2001 From: John Ky Date: Mon, 11 Mar 2024 14:27:28 +1100 Subject: [PATCH] Remove error "evaluateTransactionFee: TODO support Byron key witnesses" --- cardano-api/internal/Cardano/Api/Fees.hs | 3 --- 1 file changed, 3 deletions(-) diff --git a/cardano-api/internal/Cardano/Api/Fees.hs b/cardano-api/internal/Cardano/Api/Fees.hs index 152e7611df..a641de6e0c 100644 --- a/cardano-api/internal/Cardano/Api/Fees.hs +++ b/cardano-api/internal/Cardano/Api/Fees.hs @@ -201,9 +201,6 @@ evaluateTransactionFee :: forall era. () -> Word -- ^ The number of Shelley key witnesses -> Word -- ^ The number of Byron key witnesses -> Lovelace -evaluateTransactionFee _ _ _ _ byronwitcount | byronwitcount > 0 = - error "evaluateTransactionFee: TODO support Byron key witnesses" - evaluateTransactionFee sbe pp txbody keywitcount byronwitcount = shelleyBasedEraConstraints sbe $ case makeSignedTransaction' (shelleyBasedToCardanoEra sbe) [] txbody of