Updated on 2026-08-14

This commit is contained in:
Tangem 2024-06-27 11:30:53 +03:00
parent 0a07579089
commit 8224c05d1a
9 changed files with 19 additions and 20 deletions

View file

@ -150,7 +150,7 @@ internal class SendStateFactory(
)
}
fun getTransactionSendState(txData: TransactionData, txUrl: String): SendUiState {
fun getTransactionSendState(txData: TransactionData.Uncompiled, txUrl: String): SendUiState {
val state = currentStateProvider()
val sendState = state.sendState ?: return state
return state.copy(

View file

@ -870,7 +870,7 @@ internal class SendViewModel @Inject constructor(
}
}
private suspend fun sendTransaction(txData: TransactionData) {
private suspend fun sendTransaction(txData: TransactionData.Uncompiled) {
sendTransactionUseCase(
txData = txData,
userWallet = userWallet,
@ -911,7 +911,7 @@ internal class SendViewModel @Inject constructor(
}
}
private suspend fun updateTransactionStatus(txData: TransactionData) {
private suspend fun updateTransactionStatus(txData: TransactionData.Uncompiled) {
val txUrl = getExplorerTransactionUrlUseCase(
userWalletId = userWalletId,
network = cryptoCurrency.network,