We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447fa87 commit feffd34Copy full SHA for feffd34
cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs
@@ -1483,7 +1483,9 @@ runTransactionSubmitCmd
1483
1484
res <- liftIO $ submitTxToNodeLocal localNodeConnInfo txInMode
1485
case res of
1486
- Net.Tx.SubmitSuccess -> liftIO $ Text.putStrLn "Transaction successfully submitted."
+ Net.Tx.SubmitSuccess -> do
1487
+ liftIO $ Text.putStrLn "Transaction successfully submitted. Transaction hash is:"
1488
+ liftIO $ BS.putStrLn $ serialiseToRawBytesHex (getTxId $ getTxBody tx)
1489
Net.Tx.SubmitFail reason ->
1490
case reason of
1491
TxValidationErrorInCardanoMode err -> left . TxCmdTxSubmitError . Text.pack $ show err
0 commit comments