Updated on 2026-08-14

This commit is contained in:
Tangem 2024-04-08 15:30:28 +05:00
parent df7e72f527
commit 7e8b587fbb

View file

@ -412,7 +412,9 @@ internal class SendViewModel @Inject constructor(
private suspend fun UserWallet.toAvailableWallet(): AvailableWallet? {
return if (!isMultiCurrency) {
val status = getCryptoCurrencyStatusSyncUseCase(walletId).getOrNull()
val address = status?.value?.networkAddress
val address = status?.value?.networkAddress.takeIf {
status?.currency?.network?.id == cryptoCurrency.network.id
}
address?.let {
AvailableWallet(
name = name,