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:
parent
d0be53f0a1
commit
b09c4cbe09
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user