diff --git a/cw_core/lib/currency_for_wallet_type.dart b/cw_core/lib/currency_for_wallet_type.dart index 9ca5dd2c1..4adb7f47e 100644 --- a/cw_core/lib/currency_for_wallet_type.dart +++ b/cw_core/lib/currency_for_wallet_type.dart @@ -6,7 +6,7 @@ CryptoCurrency currencyForWalletType(WalletType type) { case WalletType.bitcoin: return CryptoCurrency.btc; case WalletType.lightning: - return CryptoCurrency.btc; + return CryptoCurrency.btcln; case WalletType.monero: return CryptoCurrency.xmr; case WalletType.litecoin: diff --git a/lib/di.dart b/lib/di.dart index bb65ccff6..4d4de1ebd 100644 --- a/lib/di.dart +++ b/lib/di.dart @@ -1239,7 +1239,7 @@ Future setup({ getIt.get().wallet!, getIt.get(), getIt.get(), - () => CryptoCurrency.btc, + () => CryptoCurrency.btcln, ), authService: getIt.get(), ); diff --git a/lib/view_model/exchange/exchange_view_model.dart b/lib/view_model/exchange/exchange_view_model.dart index 42a15b2be..602f9772f 100644 --- a/lib/view_model/exchange/exchange_view_model.dart +++ b/lib/view_model/exchange/exchange_view_model.dart @@ -145,8 +145,8 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with ChangeNowExchangeProvider(settingsStore: _settingsStore), SideShiftExchangeProvider(), SimpleSwapExchangeProvider(), - TrocadorExchangeProvider(useTorOnly: _useTorOnly, - providerStates: _settingsStore.trocadorProviderStates), + TrocadorExchangeProvider( + useTorOnly: _useTorOnly, providerStates: _settingsStore.trocadorProviderStates), if (FeatureFlag.isExolixEnabled) ExolixExchangeProvider(), ]; @@ -599,6 +599,7 @@ abstract class ExchangeViewModelBase extends WalletChangeListenerViewModel with receiveCurrency = CryptoCurrency.btc; break; case WalletType.bitcoin: + case WalletType.lightning: depositCurrency = CryptoCurrency.btc; receiveCurrency = CryptoCurrency.xmr; break;