commit 531343814011fa6c67b4442267ceea7cf25f67db
parent 13fe8e466dbc1e7100b2f24db94a8cadd83317e8
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 26 Aug 2020 20:26:59 +0200
fix display of Zpub in Kivy during multisig wallet creation (see #6456)
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/electrum/base_wizard.py b/electrum/base_wizard.py
@@ -555,7 +555,10 @@ class BaseWizard(Logger):
return
if len(self.keystores) == 0:
xpub = k.get_master_public_key()
+ self.reset_stack()
+ self.keystores.append(k)
self.run('show_xpub_and_add_cosigners', xpub)
+ return
self.reset_stack()
self.keystores.append(k)
if len(self.keystores) < self.n:
@@ -648,7 +651,7 @@ class BaseWizard(Logger):
raise NotImplementedError() # implemented by subclasses
def show_xpub_and_add_cosigners(self, xpub):
- self.show_xpub_dialog(xpub=xpub, run_next=lambda x: None)
+ self.show_xpub_dialog(xpub=xpub, run_next=lambda x: self.run('choose_keystore'))
def choose_seed_type(self, message=None, choices=None):
title = _('Choose Seed type')