InsufficientMoneyException: In the exception message, format missing value as BTC value.

This commit is contained in:
Andreas Schildbach
2016-02-29 20:19:41 +01:00
parent a5f2277b7e
commit cd35e8337d

View File

@@ -33,7 +33,7 @@ public class InsufficientMoneyException extends Exception {
} }
public InsufficientMoneyException(Coin missing) { public InsufficientMoneyException(Coin missing) {
this(missing, "Insufficient money, missing " + missing + " satoshis"); this(missing, "Insufficient money, missing " + missing.toFriendlyString());
} }
public InsufficientMoneyException(Coin missing, String message) { public InsufficientMoneyException(Coin missing, String message) {