tkivy: do not request PIN for watching-only wallets - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b1b6b250d15b19fb1ffd8eb4d7f6d42316b894e5 DIR parent 2e078493a770aa2f485b3fc9969302b5639f2dcb HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 20 Dec 2018 13:23:46 +0100 kivy: do not request PIN for watching-only wallets Diffstat: M electrum/gui/kivy/uix/dialogs/inst… | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/kivy/uix/dialogs/installwizard.py b/electrum/gui/kivy/uix/dialogs/installwizard.py t@@ -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)