mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
currency util uses uppercase currency code
This commit is contained in:
parent
581489898e
commit
3e0473719b
@ -218,8 +218,9 @@ public class CurrencyUtil {
|
||||
* contains 3 entries (CryptoCurrency, Fiat, Undefined).
|
||||
*/
|
||||
public static boolean isCryptoCurrency(String currencyCode) {
|
||||
if (currencyCode != null && isCryptoCurrencyMap.containsKey(currencyCode)) {
|
||||
return isCryptoCurrencyMap.get(currencyCode);
|
||||
if (currencyCode != null) currencyCode = currencyCode.toUpperCase();
|
||||
if (currencyCode != null && isCryptoCurrencyMap.containsKey(currencyCode.toUpperCase())) {
|
||||
return isCryptoCurrencyMap.get(currencyCode.toUpperCase());
|
||||
}
|
||||
|
||||
boolean isCryptoCurrency;
|
||||
|
Loading…
Reference in New Issue
Block a user