mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-23 03:59:36 +00:00
remove BTC case from CurrencyUtil
This commit is contained in:
parent
654435d4dd
commit
65dbb9bd30
1 changed files with 0 additions and 4 deletions
|
@ -233,10 +233,6 @@ public class CurrencyUtil {
|
||||||
if (currencyCode == null) {
|
if (currencyCode == null) {
|
||||||
// Some tests call that method with null values. Should be fixed in the tests but to not break them return false.
|
// Some tests call that method with null values. Should be fixed in the tests but to not break them return false.
|
||||||
isCryptoCurrency = false;
|
isCryptoCurrency = false;
|
||||||
} else if (currencyCode.equals("BTC")) {
|
|
||||||
// BTC is not part of our assetRegistry so treat it extra here. Other old base currencies (LTC, DOGE, DASH)
|
|
||||||
// are not supported anymore so we can ignore that case.
|
|
||||||
isCryptoCurrency = true;
|
|
||||||
} else if (getCryptoCurrency(currencyCode).isPresent()) {
|
} else if (getCryptoCurrency(currencyCode).isPresent()) {
|
||||||
// If we find the code in our assetRegistry we return true.
|
// If we find the code in our assetRegistry we return true.
|
||||||
// It might be that an asset was removed from the assetsRegistry, we deal with such cases below by checking if
|
// It might be that an asset was removed from the assetsRegistry, we deal with such cases below by checking if
|
||||||
|
|
Loading…
Reference in a new issue