1
0

ledger: suppress error message if user cancels tx signing

This commit is contained in:
SomberNight
2019-02-28 17:56:08 +01:00
parent 2fd4cdcaa9
commit b2128af958

View File

@@ -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