mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-03-01 02:41:26 -05:00
rename currency code base util
This commit is contained in:
parent
0cba254193
commit
667f0c8fb5
@ -298,7 +298,7 @@ public class CurrencyUtil {
|
||||
if (currencyCode != null && isCryptoCurrencyMap.containsKey(currencyCode.toUpperCase())) {
|
||||
return isCryptoCurrencyMap.get(currencyCode.toUpperCase());
|
||||
}
|
||||
if (isCryptoCurrencyBase(currencyCode)) {
|
||||
if (isCryptoCurrencyCodeBase(currencyCode)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -327,7 +327,7 @@ public class CurrencyUtil {
|
||||
return isCryptoCurrency;
|
||||
}
|
||||
|
||||
private static boolean isCryptoCurrencyBase(String currencyCode) {
|
||||
private static boolean isCryptoCurrencyCodeBase(String currencyCode) {
|
||||
if (currencyCode == null) return false;
|
||||
currencyCode = currencyCode.toUpperCase();
|
||||
return currencyCode.equals("USDT") || currencyCode.equals("USDC");
|
||||
|
Loading…
x
Reference in New Issue
Block a user