Add transaction confidence back to Wallet.toString().

When working with Wallet objects, you should use Context too.
This commit is contained in:
Andreas Schildbach
2016-08-17 15:01:11 +02:00
parent 9a45159344
commit 945d1bdb1d

View File

@@ -3273,6 +3273,8 @@ public class Wallet extends BaseTaggableObject
} catch (ScriptException e) { } catch (ScriptException e) {
// Ignore and don't print this line. // Ignore and don't print this line.
} }
if (tx.hasConfidence())
builder.append(" confidence: ").append(tx.getConfidence()).append('\n');
builder.append(tx.toString(chain)); builder.append(tx.toString(chain));
} }
} }