Updated on 2026-08-14
This commit is contained in:
parent
c5f7baa0ff
commit
6ad2d142a4
10 changed files with 55 additions and 25 deletions
|
|
@ -345,6 +345,12 @@ internal class DefaultUserWalletsListRepository(
|
|||
userWalletEncryptionKeysRepository.clear()
|
||||
}
|
||||
|
||||
override suspend fun hasSecuredWallets(): Boolean {
|
||||
val userWallets = userWalletsSync()
|
||||
val unsecuredWalletIds = userWalletEncryptionKeysRepository.getAllUnsecured().map { it.walletId }.toSet()
|
||||
return userWallets.any { it.walletId !in unsecuredWalletIds }
|
||||
}
|
||||
|
||||
private suspend fun requestPasswordRecursive(
|
||||
hotWalletId: HotWalletId,
|
||||
block: suspend (CharArray) -> UserWalletEncryptionKey?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue