mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
WalletTool: after send
action, also print the entire transaction
Currently, only the transaction hash is printed.
This commit is contained in:
parent
c68cd2e616
commit
63f72840c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user