mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +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) {
|
||||
try {
|
||||
builder.append("Sends ");
|
||||
builder.append(tx.getValue(this).toFriendlyString());
|
||||
builder.append(" total value (sends ");
|
||||
builder.append(tx.getValueSentFromMe(this).toFriendlyString());
|
||||
builder.append(" and receives ");
|
||||
builder.append(tx.getValueSentToMe(this).toFriendlyString());
|
||||
builder.append(", total value ");
|
||||
builder.append(tx.getValue(this).toFriendlyString());
|
||||
builder.append(".\n");
|
||||
builder.append(")\n");
|
||||
} catch (ScriptException e) {
|
||||
// Ignore and don't print this line.
|
||||
}
|
||||
|
Reference in New Issue
Block a user