Fix: display transaction ID as bitcoin-core does

Fix the format we use to print transaction ID to match what the
reference implementation does.
This should let the user copy and past the TxID in a blockchain explorer
and check the transaction was correctly broadcasted.
The TxID could also be used to tag the certified commit.