ledger: mixed up error code..

follow-up 2ce2b36846
This commit is contained in:
SomberNight 2018-03-22 15:46:23 +01:00
parent 800c783580
commit db9cb63e79

View file

@ -187,7 +187,7 @@ class Ledger_Client():
try: try:
self.perform_hw1_preflight() self.perform_hw1_preflight()
except BTChipException as e: 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 BaseException(_("Device not in Bitcoin mode")) from e
raise e raise e
self.preflightDone = True self.preflightDone = True