ThomasV 9 years ago
parent
commit
4a5bece492
  1. 7
      plugins/ledger/ledger.py

7
plugins/ledger/ledger.py

@ -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…
Cancel
Save