produce decoded transaction in stderr

to avoid interfering with possible scripting
This commit is contained in:
La Ancapo 2026-01-25 02:50:13 +01:00
parent c101616e62
commit f9b51f107d
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ main = do
let parsedTransaction = case xdrDeserialize transaction :: Either String TransactionEnvelope of
Left err -> error err
Right x -> x
T.putStrLn $ pretty parsedTransaction
T.hPutStrLn stderr $ pretty parsedTransaction
proceed <- confirm
when proceed $ do
key <- getPrivateKey