Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-03 19:44:16 +02:00
parent cdce065712
commit 59031ba466
2 changed files with 4 additions and 14 deletions

View file

@ -932,7 +932,7 @@ internal class StakingModel @Inject constructor(
when {
isInitState() -> {
updateInitialData()
balanceUpdater.initialUpdate()
balanceUpdater.partialUpdate()
}
isAssentState() -> {
getFee()

View file

@ -57,24 +57,14 @@ internal class StakingBalanceUpdater @AssistedInject constructor(
}
suspend fun partialUpdate() {
coroutineScope {
listOf(
async {
updateNetworkStatuses(delay = 0)
},
async {
updateProcessingActions()
},
).awaitAll()
}
}
suspend fun initialUpdate() {
coroutineScope {
listOf(
async {
updateStakeBalance()
},
async {
updateNetworkStatuses(delay = 0)
},
async {
updateProcessingActions()
},