WalletTool: after send action, also print the entire transaction

Currently, only the transaction hash is printed.
This commit is contained in:
Andreas Schildbach 2023-06-13 09:22:48 +02:00
parent c68cd2e616
commit 63f72840c4

View File

@ -693,7 +693,8 @@ public class WalletTool implements Callable<Integer> {
} catch (ScriptException e) {
throw new RuntimeException(e);
}
System.out.println(tx.getTxId());
System.out.println("id: " + tx.getTxId());
System.out.println("tx: " + ByteUtils.formatHex(tx.serialize()));
if (offline) {
wallet.commitTx(tx);
return;