Print fee with Transaction.toString(), if known.

This commit is contained in:
Andreas Schildbach
2014-11-13 00:38:22 +01:00
parent 40b46f0326
commit b7166d650d

View File

@@ -704,6 +704,9 @@ public class Transaction extends ChildMessage implements Serializable {
}
s.append(String.format("%n"));
}
Coin fee = getFee();
if (fee != null)
s.append(" fee ").append(fee.toFriendlyString()).append(String.format("%n"));
return s.toString();
}