electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b2128af9585978ade8eab9822665c7cf07167f3d
parent 2fd4cdcaa9f59dae56d17fa0d9864eefc3ff89e9
Author: SomberNight <somber.night@protonmail.com>
Date:   Thu, 28 Feb 2019 17:56:08 +0100

ledger: suppress error message if user cancels tx signing

Diffstat:
Melectrum/plugins/ledger/ledger.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/plugins/ledger/ledger.py b/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