Updated on 2026-08-14

This commit is contained in:
Tangem 2025-02-20 14:50:16 +04:00
parent fde7ec8688
commit 111dea42be
11 changed files with 97 additions and 44 deletions

View file

@ -402,6 +402,10 @@ internal class DefaultStakingRepository(
cryptoCurrencies: List<CryptoCurrency>,
refresh: Boolean,
) = withContext(dispatchers.io) {
if (refresh) {
stakingBalanceStore.refresh(userWalletId = userWalletId)
}
cacheRegistry.invokeOnExpire(
key = getYieldBalancesKey(userWalletId),
skipCache = refresh,