|
|
|
|
@ -494,7 +494,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
|
|
|
|
self.handler.show_error(_('Cancelled by user')) |
|
|
|
|
return |
|
|
|
|
except BTChipException as e: |
|
|
|
|
if e.sw == 0x6985: # cancelled by user |
|
|
|
|
if e.sw in (0x6985, 0x6d00): # cancelled by user |
|
|
|
|
return |
|
|
|
|
elif e.sw == 0x6982: |
|
|
|
|
raise # pin lock. decorator will catch it |
|
|
|
|
|