3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

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 9e52e4e0bf
commit 7240fb754a

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) {