mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-08 17:19:29 +00:00
non-mature currencies have chargeback risk too
This commit is contained in:
parent
7de2e9de6a
commit
d1e5910502
1 changed files with 5 additions and 3 deletions
|
@ -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 a new issue