Updated on 2026-08-14
This commit is contained in:
parent
03aff4ea33
commit
907bc6335e
1 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ fun WalletManagerFactory.makeWalletManagerForApp(
|
|||
val seedKey = wallet.extendedPublicKey
|
||||
return when {
|
||||
scanResponse.cardTypesResolver.isTangemTwins() && scanResponse.secondTwinPublicKey != null -> {
|
||||
makeTwinWalletManager(
|
||||
createTwinWalletManager(
|
||||
walletPublicKey = wallet.publicKey,
|
||||
pairPublicKey = scanResponse.secondTwinPublicKey!!.hexToBytes(),
|
||||
blockchain = environmentBlockchain,
|
||||
|
|
@ -51,7 +51,7 @@ fun WalletManagerFactory.makeWalletManagerForApp(
|
|||
val derivedKey = derivedKeys?.get(derivationPath)
|
||||
?: return null
|
||||
|
||||
makeWalletManager(
|
||||
createWalletManager(
|
||||
blockchain = environmentBlockchain,
|
||||
seedKey = wallet.publicKey,
|
||||
derivedKey = derivedKey,
|
||||
|
|
@ -59,7 +59,7 @@ fun WalletManagerFactory.makeWalletManagerForApp(
|
|||
)
|
||||
}
|
||||
else -> {
|
||||
makeWalletManager(
|
||||
createLegacyWalletManager(
|
||||
blockchain = environmentBlockchain,
|
||||
walletPublicKey = wallet.publicKey,
|
||||
curve = wallet.curve,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue