mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
parent
967acb01c7
commit
6e158c720c
@ -134,7 +134,7 @@ public class BtcOfferBookViewModel extends OfferBookViewModel {
|
||||
TradeCurrency getDefaultTradeCurrency() {
|
||||
TradeCurrency defaultTradeCurrency = GlobalSettings.getDefaultTradeCurrency();
|
||||
|
||||
if (CurrencyUtil.isFiatCurrency(defaultTradeCurrency.getCode())) {
|
||||
if (CurrencyUtil.isFiatCurrency(defaultTradeCurrency.getCode()) && hasPaymentAccountForCurrency(defaultTradeCurrency)) {
|
||||
return defaultTradeCurrency;
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,8 @@ public class OtherOfferBookViewModel extends OfferBookViewModel {
|
||||
|
||||
if (!CurrencyUtil.isFiatCurrency(defaultTradeCurrency.getCode()) &&
|
||||
!defaultTradeCurrency.equals(GUIUtil.BSQ) &&
|
||||
!defaultTradeCurrency.equals(GUIUtil.TOP_ALTCOIN)) {
|
||||
!defaultTradeCurrency.equals(GUIUtil.TOP_ALTCOIN) &&
|
||||
hasPaymentAccountForCurrency(defaultTradeCurrency)) {
|
||||
return defaultTradeCurrency;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user