Updated on 2026-08-14

This commit is contained in:
Tangem 2020-09-30 21:37:49 +03:00
parent 7a35e867b5
commit 338e4fe3cf
2 changed files with 5 additions and 1 deletions

View file

@ -65,7 +65,7 @@ dependencies {
implementation 'com.google.android.material:material:1.2.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
implementation 'com.tangem:blockchain:1.68.0'
implementation 'com.tangem:blockchain:1.70.0'
implementation 'com.tangem:core:1.63.0'
implementation 'com.tangem:sdk:1.63.0'

View file

@ -1,5 +1,6 @@
package com.tangem.tap.features.send.redux.middlewares
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.tangem.blockchain.common.*
import com.tangem.blockchain.extensions.Result
import com.tangem.blockchain.extensions.Signer
@ -82,6 +83,9 @@ private fun verifyAndSendTransaction(
val symbol = error.minReserve.currencySymbol
dispatch(SendAction.SendError(TapError.CreateAccountUnderfunded(listOf(reserve, symbol))))
}
is SendException -> {
FirebaseCrashlytics.getInstance().recordException(result.error!!)
}
is Throwable -> {
val message = (result.error as Throwable).message
when {