mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +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) {
|
||||
if (CurrencyUtil.getMatureMarketCurrencies().stream()
|
||||
.noneMatch(c -> c.getCode().equals(currencyCode)))
|
||||
return false;
|
||||
|
||||
// TODO: bisq indicates no chargeback risk for non-"mature" currencies, but they have chargeback risk too, so we disable
|
||||
// if (CurrencyUtil.getMatureMarketCurrencies().stream()
|
||||
// .noneMatch(c -> c.getCode().equals(currencyCode)))
|
||||
// return false;
|
||||
|
||||
return id.equals(PaymentMethod.SEPA_ID) ||
|
||||
id.equals(PaymentMethod.SEPA_INSTANT_ID) ||
|
||||
|
|
Loading…
Reference in a new issue