Updated on 2026-08-14
This commit is contained in:
parent
90001a2211
commit
99244e87a6
1 changed files with 4 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ import com.tangem.lib.crypto.models.transactions.SendTxResult
|
|||
import com.tangem.tap.common.redux.global.GlobalAction
|
||||
import com.tangem.tap.domain.TangemSigner
|
||||
import com.tangem.tap.domain.tokens.models.BlockchainNetwork
|
||||
import com.tangem.tap.store
|
||||
import com.tangem.tap.features.wallet.redux.WalletAction
|
||||
import com.tangem.tap.tangemSdk
|
||||
import java.math.BigDecimal
|
||||
|
||||
|
|
@ -109,6 +109,8 @@ class TransactionManagerImpl(
|
|||
FirebaseCrashlytics.getInstance().recordException(ex)
|
||||
return SendTxResult.UnknownError(ex)
|
||||
}
|
||||
// workaround, should update wallet after transaction
|
||||
appStateHolder.mainStore?.dispatch(WalletAction.LoadData.Refresh)
|
||||
return handleSendResult(sendResult)
|
||||
}
|
||||
|
||||
|
|
@ -191,7 +193,7 @@ class TransactionManagerImpl(
|
|||
tangemSdk = tangemSdk,
|
||||
initialMessage = Message(),
|
||||
) { signResponse ->
|
||||
store.dispatch(
|
||||
appStateHolder.mainStore?.dispatch(
|
||||
GlobalAction.UpdateWalletSignedHashes(
|
||||
walletSignedHashes = signResponse.totalSignedHashes,
|
||||
walletPublicKey = walletManager.wallet.publicKey.seedKey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue