Browse Source
ledger: suppress error message if user cancels tx signing
sqlite_db
SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/plugins/ledger/ledger.py
|
|
@ -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 |
|
|
|