3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 11:15:51 +00:00

TransactionInput: better toString

This commit is contained in:
Mike Hearn 2013-10-07 17:57:33 +02:00
parent d0be53f0a1
commit b09c4cbe09

View File

@ -259,9 +259,7 @@ public class TransactionInput extends ChildMessage implements Serializable {
if (isCoinBase())
return "TxIn: COINBASE";
try {
return "TxIn from tx " + outpoint + " (pubkey: " + Utils.bytesToHexString(getScriptSig().getPubKey()) +
") script:" +
getScriptSig().toString();
return "TxIn for [" + outpoint + "]: " + getScriptSig();
} catch (ScriptException e) {
throw new RuntimeException(e);
}