Skip to content

Commit

Permalink
Merge pull request #478 from IntersectMBO/newhoggy/remove-todo-suppor…
Browse files Browse the repository at this point in the history
…t-byron-key-witnesses

Remove error `"evaluateTransactionFee: TODO support Byron key witnesses"`
  • Loading branch information
newhoggy authored Mar 11, 2024
2 parents a286692 + ad70dc8 commit 53a4d8c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cardano-api/internal/Cardano/Api/Fees.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53a4d8c

Please sign in to comment.