diff --git a/app/build.gradle b/app/build.gradle index 1ef67412a4..d3603f973a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -67,7 +67,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.81.0' + implementation 'com.tangem:blockchain:1.82.0' implementation 'com.tangem:core:1.67.0' implementation 'com.tangem:sdk:1.67.0' diff --git a/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletMiddleware.kt b/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletMiddleware.kt index 18d024a379..125d22f468 100644 --- a/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletMiddleware.kt +++ b/app/src/main/java/com/tangem/tap/features/wallet/redux/WalletMiddleware.kt @@ -233,6 +233,8 @@ private fun checkHashesCountOnline() { is SimpleResult.Failure -> if (result.error is BlockchainSdkError.SignatureCountNotMatched) { store.dispatch(WalletAction.ShowWarning(WarningType.CardSignedHashesBefore)) + } else if (card.walletSignedHashes ?: 0 > 0) { + store.dispatch(WalletAction.ShowWarning(WarningType.CardSignedHashesBefore)) } } }