mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Fix a bug in Transaction.toString().
Resolves issue 309.
This commit is contained in:
parent
1b4fa96691
commit
8dc9c9f27a
@ -596,7 +596,7 @@ public class Transaction extends ChildMessage implements Serializable {
|
||||
if (scriptSig.chunks.size() == 2)
|
||||
s.append(scriptSig.getFromAddress().toString());
|
||||
else if (scriptSig.chunks.size() == 1)
|
||||
s.append("[sig:" + bytesToHexString(scriptSig.getPubKey()) + "]");
|
||||
s.append("[sig:" + bytesToHexString(scriptSig.chunks.get(0).data) + "]");
|
||||
else
|
||||
s.append("???");
|
||||
s.append(" / ");
|
||||
|
Loading…
Reference in New Issue
Block a user