mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Transaction: Put transaction confidence into separate line in toString().
This commit is contained in:
@@ -624,7 +624,9 @@ public class Transaction extends ChildMessage implements Serializable {
|
||||
public String toString(@Nullable AbstractBlockChain chain) {
|
||||
// Basic info about the tx.
|
||||
StringBuilder s = new StringBuilder();
|
||||
s.append(String.format(Locale.US, " %s: %s%n", getHashAsString(), getConfidence()));
|
||||
s.append(" ").append(getHashAsString()).append('\n');
|
||||
if (hasConfidence())
|
||||
s.append(" confidence: ").append(getConfidence()).append('\n');
|
||||
if (isTimeLocked()) {
|
||||
String time;
|
||||
if (lockTime < LOCKTIME_THRESHOLD) {
|
||||
|
Reference in New Issue
Block a user