Updated on 2026-08-14
This commit is contained in:
parent
72989eab5a
commit
361bd8168b
4 changed files with 74 additions and 3 deletions
|
|
@ -24,7 +24,6 @@ class GetDerivedXpubUseCase(
|
|||
suspend operator fun invoke(userWalletId: UserWalletId, network: Network): String? {
|
||||
val blockchain = network.toBlockchain()
|
||||
if (!DynamicAddressesSupportedBlockchains.isSupported(blockchain)) return null
|
||||
if (!blockchain.isBip44DerivationStyleXPUB()) return null
|
||||
|
||||
val walletManager = walletManagersFacade.getOrCreateWalletManager(userWalletId, network) ?: return null
|
||||
val hdKey = walletManager.wallet.publicKey.derivationType?.hdKey ?: return null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue