electrum

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

commit ee3ab5361efec791d75f29757b8b05d1b7b24862
parent 3fb75bc6063c9e527d19c20cb75f32e70ef65a15
Author: SomberNight <somber.night@protonmail.com>
Date:   Sun, 18 Mar 2018 01:55:15 +0100

dbb: handle password prompt cancellation better

Diffstat:
Mplugins/digitalbitbox/digitalbitbox.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/digitalbitbox/digitalbitbox.py b/plugins/digitalbitbox/digitalbitbox.py @@ -168,7 +168,7 @@ class DigitalBitbox_Client(): msg = _("Enter your Digital Bitbox password:") while self.password is None: if not self.password_dialog(msg): - return False + raise UserCancelled() reply = self.hid_send_encrypt(b'{"led":"blink"}') if 'error' in reply: self.password = None