Allow trade limit of 5 BTC for BSQ

This commit is contained in:
Manfred Karrer 2017-07-11 22:23:27 +02:00
parent 908972deaf
commit baabf3ba26

View File

@ -221,7 +221,7 @@ public final class PaymentMethod implements PersistablePayload, Comparable {
// Hack for SF as the smallest unit is 1 SF ;-( and price is about 3 BTC!
public Coin getMaxTradeLimitAsCoin(String currencyCode) {
if (currencyCode.equals("SF"))
if (currencyCode.equals("SF") || currencyCode.equals("BSQ"))
return Coin.valueOf(maxTradeLimit).multiply(5);
else
return Coin.valueOf(maxTradeLimit);