Skip to content

Commit

Permalink
fixup! fixup! fixup! Add getTransactionBodyContent
Browse files Browse the repository at this point in the history
  • Loading branch information
cblp committed May 4, 2021
1 parent f3391be commit 41fa2e7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions cardano-api/src/Cardano/Api/TxBody.hs
Expand Up @@ -1444,13 +1444,10 @@ getShelleyTxBodyContent body metadata = do
TxUpdateProposal UpdateProposalInShelleyEra $ fromShelleyUpdate p


getAllegraTxBodyContent :: ShelleyMA.TxBody (ShelleyLedgerEra AllegraEra)
-> Maybe
(ShelleyMA.AuxiliaryData
(ShelleyLedgerEra AllegraEra))
-> Either
(TxBodyError AllegraEra)
(TxBodyContent ViewTx AllegraEra)
getAllegraTxBodyContent
:: ShelleyMA.TxBody (ShelleyLedgerEra AllegraEra)
-> Maybe (ShelleyMA.AuxiliaryData (ShelleyLedgerEra AllegraEra))
-> Either (TxBodyError AllegraEra) (TxBodyContent ViewTx AllegraEra)
getAllegraTxBodyContent
(ShelleyMA.TxBody
inputs
Expand Down

0 comments on commit 41fa2e7

Please sign in to comment.