qt "Wallet Info" dialog: show bip32 root fingerprint

and also show it in DeviceMgr.select_device

follow-up https://github.com/spesmilo/electrum/commit/998cd0d356fcd9ed1bd835c3a1abe81737a8b73b
This commit is contained in:
SomberNight
2022-06-03 18:02:58 +02:00
parent 574243b897
commit 780408285c
2 changed files with 15 additions and 6 deletions
+4 -2
View File
@@ -632,9 +632,11 @@ class DeviceMgr(ThreadJob):
if not allow_user_interaction:
raise CannotAutoSelectDevice()
msg = _('Please insert your {}').format(plugin.device)
msg += " ("
if keystore.label and keystore.label not in PLACEHOLDER_HW_CLIENT_LABELS:
msg += ' ({})'.format(keystore.label)
msg += '. {}\n\n{}'.format(
msg += f"label: {keystore.label}, "
msg += f"bip32 root fingerprint: {keystore.get_root_fingerprint()!r}"
msg += ').\n\n{}\n\n{}'.format(
_('Verify the cable is connected and that '
'no other application is using it.'),
_('Try to connect again?')