mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
currency util uses uppercase currency code
This commit is contained in:
parent
581489898e
commit
3e0473719b
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue