mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-03 05:57:21 +00:00
Wallet: In wallet transactions dump, reformat value line.
This commit is contained in:
@@ -3264,13 +3264,12 @@ public class Wallet extends BaseTaggableObject
|
|||||||
|
|
||||||
for (Transaction tx : txns) {
|
for (Transaction tx : txns) {
|
||||||
try {
|
try {
|
||||||
builder.append("Sends ");
|
builder.append(tx.getValue(this).toFriendlyString());
|
||||||
|
builder.append(" total value (sends ");
|
||||||
builder.append(tx.getValueSentFromMe(this).toFriendlyString());
|
builder.append(tx.getValueSentFromMe(this).toFriendlyString());
|
||||||
builder.append(" and receives ");
|
builder.append(" and receives ");
|
||||||
builder.append(tx.getValueSentToMe(this).toFriendlyString());
|
builder.append(tx.getValueSentToMe(this).toFriendlyString());
|
||||||
builder.append(", total value ");
|
builder.append(")\n");
|
||||||
builder.append(tx.getValue(this).toFriendlyString());
|
|
||||||
builder.append(".\n");
|
|
||||||
} catch (ScriptException e) {
|
} catch (ScriptException e) {
|
||||||
// Ignore and don't print this line.
|
// Ignore and don't print this line.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user