commit db9cb63e79ec199db1983ba20137d692bc6807b7
parent 800c783580ca2cff6d8ac380f66e04f059026355
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 22 Mar 2018 15:46:23 +0100
ledger: mixed up error code..
follow-up 2ce2b368466a848afdf8c85b65fad98a5f338254
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ledger/ledger.py b/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