mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix #1987
This commit is contained in:
parent
45aab8654d
commit
4a5bece492
1 changed files with 6 additions and 1 deletions
|
@ -146,7 +146,12 @@ class Ledger_Client():
|
|||
|
||||
def checkDevice(self):
|
||||
if not self.preflightDone:
|
||||
self.perform_hw1_preflight()
|
||||
try:
|
||||
self.perform_hw1_preflight()
|
||||
except BTChipException as e:
|
||||
if (e.sw == 0x6d00):
|
||||
raise BaseException("Device not in Bitcoin mode")
|
||||
raise e
|
||||
self.preflightDone = True
|
||||
|
||||
def password_dialog(self, msg=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue