Skip to content

Commit c86e0e3

Browse files
committed
Propagate createAndValidateTransactionBody throughout cardano-cli
1 parent 2ceeb60 commit c86e0e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cardano-cli/src/Cardano/CLI/Byron/Tx.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ txSpendGenesisUTxOByronPBFT gc nId sk (ByronAddress bAddr) outs = do
165165
TxUpdateProposalNone
166166
TxMintNone
167167
TxScriptValidityNone
168-
case makeTransactionBody txBodyCont of
168+
case createAndValidateTransactionBody txBodyCont of
169169
Left err -> error $ "Error occurred while creating a Byron genesis based UTxO transaction: " <> show err
170170
Right txBody -> let bWit = fromByronWitness sk nId txBody
171171
in makeSignedTransaction [bWit] txBody
@@ -207,7 +207,7 @@ txSpendUTxOByronPBFT nId sk txIns outs = do
207207
TxUpdateProposalNone
208208
TxMintNone
209209
TxScriptValidityNone
210-
case makeTransactionBody txBodyCont of
210+
case createAndValidateTransactionBody txBodyCont of
211211
Left err -> error $ "Error occurred while creating a Byron genesis based UTxO transaction: " <> show err
212212
Right txBody -> let bWit = fromByronWitness sk nId txBody
213213
in makeSignedTransaction [bWit] txBody

cardano-cli/src/Cardano/CLI/Shelley/Run/Transaction.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ runTxBuildRaw (AnyCardanoEra era)
403403

404404
txBody <-
405405
firstExceptT ShelleyTxCmdTxBodyError . hoistEither $
406-
makeTransactionBody txBodyContent
406+
createAndValidateTransactionBody txBodyContent
407407
case outputFormat of
408408
OutputCliSerialisation ->
409409
firstExceptT ShelleyTxCmdWriteFileError . newExceptT $

0 commit comments

Comments
 (0)