File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
cardano-cli/src/Cardano/CLI/EraBased/Transaction Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ runTransactionBuildEstimateCmd -- TODO change type
510510 collectTxBodyScriptWitnesses sbe txBodyContent
511511 ]
512512
513- BalancedTxBody _ balancedTxBody _ _ <-
513+ BalancedTxBody _ balancedTxBody _ fee <-
514514 fromEitherCli $
515515 first TxCmdFeeEstimationError $
516516 estimateBalancedTxBody
@@ -535,6 +535,8 @@ runTransactionBuildEstimateCmd -- TODO change type
535535 then writeTxFileTextEnvelopeCanonical sbe txBodyOutFile noWitTx
536536 else writeTxFileTextEnvelope sbe txBodyOutFile noWitTx
537537
538+ liftIO . putStrLn . docToString $ " Estimated transaction fee:" <+> pretty fee
539+
538540-- TODO: Update type in cardano-api to be more generic then delete this
539541toShelleyLedgerPParamsShim
540542 :: Exp. Era era -> L. PParams (Exp. LedgerEra era ) -> L. PParams (ShelleyLedgerEra era )
You can’t perform that action at this time.
0 commit comments