mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
non-mature currencies have chargeback risk too
This commit is contained in:
parent
7de2e9de6a
commit
d1e5910502
@ -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) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user