Updated on 2026-08-14

This commit is contained in:
Tangem 2025-05-29 15:44:09 +05:00
parent 645f6b1993
commit e42c887138
8 changed files with 101 additions and 7 deletions

View file

@ -430,13 +430,19 @@ internal class SendModel @Inject constructor(
cryptoCurrencyId = cryptoCurrency.id.value,
).getOrNull()?.let {
if (it.network.id == cryptoCurrency.network.id) {
getNetworkAddressesUseCase.invokeSync(wallet.walletId, it.network)
getNetworkAddressesUseCase.invokeSync(
userWalletId = wallet.walletId,
networkRawId = it.network.id.rawId,
)
} else {
null
}
}
} else {
getNetworkAddressesUseCase.invokeSync(wallet.walletId, cryptoCurrency.network)
getNetworkAddressesUseCase.invokeSync(
userWalletId = wallet.walletId,
networkRawId = cryptoCurrency.network.id.rawId,
)
}
addresses?.map { (cryptoCurrency, address) ->
AvailableWallet(