Updated on 2026-08-14

This commit is contained in:
Tangem 2023-03-03 17:17:40 +03:00
parent 9e1ceea2dc
commit 07400563cf
7 changed files with 56 additions and 26 deletions

View file

@ -25,6 +25,10 @@ import timber.log.Timber
/**
[REDACTED_AUTHOR]
*/
@Deprecated(
message = "Use WalletStoresManager.fetch({userWalletId}, refresh = true) (to update all user wallet tokens)" +
"or WalletCurrenciesManager.update(...) (to update only one user wallet blockchain and its tokens) instead",
)
@Suppress("MagicNumber")
suspend fun WalletManager.safeUpdate(): Result<Wallet> = try {
val scanResponse = store.state.globalState.scanResponse