electrum

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

commit b1b6b250d15b19fb1ffd8eb4d7f6d42316b894e5
parent 2e078493a770aa2f485b3fc9969302b5639f2dcb
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 20 Dec 2018 13:23:46 +0100

kivy: do not request PIN for watching-only wallets

Diffstat:
Melectrum/gui/kivy/uix/dialogs/installwizard.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py @@ -1027,6 +1027,10 @@ class InstallWizard(BaseWizard, Widget): Clock.schedule_once(lambda dt: app.show_error(msg)) def request_password(self, run_next, force_disable_encrypt_cb=False): + if force_disable_encrypt_cb: + # do not request PIN for watching-only wallets + run_next(None, False) + return def on_success(old_pin, pin): assert old_pin is None run_next(pin, False)