mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 11:36:15 +01:00
Transaction: include coinbase input in toString()
It used to be suppressed, presumably because coinbase scriptSigs may contain arbitrary bytes which could confuse our script parser.
This commit is contained in:
parent
9b28fdbfa0
commit
c18ec968e1
1 changed files with 2 additions and 1 deletions
|
@ -768,7 +768,8 @@ public class Transaction extends BaseMessage {
|
|||
s.append(indent).append("purpose: ").append(purpose).append('\n');
|
||||
if (isCoinBase()) {
|
||||
s.append(indent).append("coinbase\n");
|
||||
} else if (!inputs.isEmpty()) {
|
||||
}
|
||||
if (!inputs.isEmpty()) {
|
||||
for (TransactionInput in : inputs) {
|
||||
s.append(indent).append(" ");
|
||||
s.append("in ");
|
||||
|
|
Loading…
Add table
Reference in a new issue