Browse Source

ledger: mixed up error code..

follow-up 2ce2b36846
3.2.x
SomberNight 7 years ago
parent
commit
db9cb63e79
  1. 2
      plugins/ledger/ledger.py

2
plugins/ledger/ledger.py

@ -187,7 +187,7 @@ class Ledger_Client():
try:
self.perform_hw1_preflight()
except BTChipException as e:
if (e.sw == 0x6d00 or e.sw == 0x6f00):
if (e.sw == 0x6d00 or e.sw == 0x6700):
raise BaseException(_("Device not in Bitcoin mode")) from e
raise e
self.preflightDone = True

Loading…
Cancel
Save