non-mature currencies have chargeback risk too

This commit is contained in:
woodser 2024-04-29 06:21:12 -04:00
parent 7de2e9de6a
commit d1e5910502

View File

@ -563,9 +563,11 @@ public final class PaymentMethod implements PersistablePayload, Comparable<Payme
} }
public static boolean hasChargebackRisk(String id, String currencyCode) { public static boolean hasChargebackRisk(String id, String currencyCode) {
if (CurrencyUtil.getMatureMarketCurrencies().stream()
.noneMatch(c -> c.getCode().equals(currencyCode))) // TODO: bisq indicates no chargeback risk for non-"mature" currencies, but they have chargeback risk too, so we disable
return false; // if (CurrencyUtil.getMatureMarketCurrencies().stream()
// .noneMatch(c -> c.getCode().equals(currencyCode)))
// return false;
return id.equals(PaymentMethod.SEPA_ID) || return id.equals(PaymentMethod.SEPA_ID) ||
id.equals(PaymentMethod.SEPA_INSTANT_ID) || id.equals(PaymentMethod.SEPA_INSTANT_ID) ||