mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
Trezor: another place needs client handler set
This commit is contained in:
parent
963dcf0c6b
commit
bf942b5259
1 changed files with 4 additions and 2 deletions
|
@ -358,6 +358,9 @@ class DeviceMgr(PrintError):
|
||||||
|
|
||||||
client = self.client_lookup(wallet_id)
|
client = self.client_lookup(wallet_id)
|
||||||
if client:
|
if client:
|
||||||
|
# An unpaired client might have another wallet's handler
|
||||||
|
# from a prior scan. Replace to fix dialog parenting.
|
||||||
|
client.handler = wallet.handler
|
||||||
return client
|
return client
|
||||||
|
|
||||||
for device in devices:
|
for device in devices:
|
||||||
|
@ -374,8 +377,7 @@ class DeviceMgr(PrintError):
|
||||||
if info:
|
if info:
|
||||||
client = self.client_lookup(info.device.id_)
|
client = self.client_lookup(info.device.id_)
|
||||||
if client and not client.features.bootloader_mode:
|
if client and not client.features.bootloader_mode:
|
||||||
# An unpaired client might have another wallet's handler
|
# See comment above for same code
|
||||||
# from a prior scan. Replace to fix dialog parenting.
|
|
||||||
client.handler = wallet.handler
|
client.handler = wallet.handler
|
||||||
# This will trigger a PIN/passphrase entry request
|
# This will trigger a PIN/passphrase entry request
|
||||||
client_first_address = client.first_address(derivation)
|
client_first_address = client.first_address(derivation)
|
||||||
|
|
Loading…
Add table
Reference in a new issue