kivy: do not request PIN for watching-only wallets

This commit is contained in:
ThomasV 2018-12-20 13:23:46 +01:00
parent 2e078493a7
commit b1b6b250d1

View File

@ -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)