Skip to content

Commit

Permalink
Remove exceptional handling of SiaFund (SF)
Browse files Browse the repository at this point in the history
Signed-off-by: HenrikJannsen <[email protected]>
  • Loading branch information
HenrikJannsen committed May 26, 2024
1 parent 0d3aaac commit 3443040
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,6 @@ public static Optional<PaymentMethod> getActivePaymentMethod(String id) {
}

public Coin getMaxTradeLimitAsCoin(String currencyCode) {
// Hack for SF as the smallest unit is 1 SF ;-( and price is about 3 BTC!
if (currencyCode.equals("SF"))
return Coin.parseCoin("4");


TradeLimits tradeLimits = TradeLimits.getINSTANCE();
checkNotNull(tradeLimits, "tradeLimits must not be null");
long maxTradeLimitFromDaoPram = tradeLimits.getMaxTradeLimit().value;
Expand Down

0 comments on commit 3443040

Please sign in to comment.