Updated on 2026-08-14
This commit is contained in:
parent
d5736553f9
commit
a2b1d3c6c4
1 changed files with 2 additions and 3 deletions
|
|
@ -11,7 +11,6 @@ import com.tangem.domain.card.models.TwinKey
|
|||
import com.tangem.domain.card.repository.CardSdkConfigRepository
|
||||
import com.tangem.domain.models.network.Network
|
||||
import com.tangem.domain.models.wallet.UserWallet
|
||||
import com.tangem.domain.models.wallet.requireColdWallet
|
||||
import com.tangem.domain.transaction.TransactionRepository
|
||||
import com.tangem.domain.transaction.error.SendTransactionError
|
||||
|
||||
|
|
@ -57,8 +56,8 @@ class PrepareAndSignUseCase(
|
|||
}
|
||||
}
|
||||
|
||||
private fun createSigner(userWallet: UserWallet) : TransactionSigner {
|
||||
return when(userWallet) {
|
||||
private fun createSigner(userWallet: UserWallet): TransactionSigner {
|
||||
return when (userWallet) {
|
||||
is UserWallet.Hot -> getHotTransactionSigner(userWallet)
|
||||
is UserWallet.Cold -> createColdSigner(userWallet)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue