mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +00:00
TransactionInput: better toString
This commit is contained in:
parent
d0be53f0a1
commit
b09c4cbe09
@ -259,9 +259,7 @@ public class TransactionInput extends ChildMessage implements Serializable {
|
|||||||
if (isCoinBase())
|
if (isCoinBase())
|
||||||
return "TxIn: COINBASE";
|
return "TxIn: COINBASE";
|
||||||
try {
|
try {
|
||||||
return "TxIn from tx " + outpoint + " (pubkey: " + Utils.bytesToHexString(getScriptSig().getPubKey()) +
|
return "TxIn for [" + outpoint + "]: " + getScriptSig();
|
||||||
") script:" +
|
|
||||||
getScriptSig().toString();
|
|
||||||
} catch (ScriptException e) {
|
} catch (ScriptException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user