Updated on 2026-08-14
This commit is contained in:
parent
aff4704274
commit
03009304d8
6 changed files with 79 additions and 19 deletions
|
|
@ -27,6 +27,11 @@ internal class DefaultDerivationsRepository(
|
|||
override suspend fun derivePublicKeys(userWalletId: UserWalletId, currencies: List<CryptoCurrency>) {
|
||||
val userWallet = userWalletsStore.getSyncOrNull(userWalletId) ?: error("User wallet not found")
|
||||
|
||||
if (!userWallet.scanResponse.card.settings.isHDWalletAllowed) {
|
||||
Timber.d("Nothing to derive")
|
||||
return
|
||||
}
|
||||
|
||||
val derivations = MissedDerivationsFinder(scanResponse = userWallet.scanResponse)
|
||||
.find(currencies)
|
||||
.ifEmpty {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue