Updated on 2026-08-14

This commit is contained in:
Tangem 2026-01-28 16:35:03 +04:00
parent 5db8900311
commit bba00924d4
18 changed files with 110 additions and 314 deletions

View file

@ -87,6 +87,15 @@ internal class DefaultWalletAccountsFetcher @Inject constructor(
store.updateData { response }
}
override suspend fun update(
userWalletId: UserWalletId,
transform: (GetWalletAccountsResponse?) -> GetWalletAccountsResponse?,
) {
val store = getAccountsResponseStore(userWalletId = userWalletId)
store.updateData { transform(it) }
}
override suspend fun push(
userWalletId: UserWalletId,
accounts: List<WalletAccountDTO>,