mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +00: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)
|
if (scriptSig.chunks.size() == 2)
|
||||||
s.append(scriptSig.getFromAddress().toString());
|
s.append(scriptSig.getFromAddress().toString());
|
||||||
else if (scriptSig.chunks.size() == 1)
|
else if (scriptSig.chunks.size() == 1)
|
||||||
s.append("[sig:" + bytesToHexString(scriptSig.getPubKey()) + "]");
|
s.append("[sig:" + bytesToHexString(scriptSig.chunks.get(0).data) + "]");
|
||||||
else
|
else
|
||||||
s.append("???");
|
s.append("???");
|
||||||
s.append(" / ");
|
s.append(" / ");
|
||||||
|
Loading…
Reference in New Issue
Block a user