fix display of Zpub in Kivy during multisig wallet creation (see #6456)

This commit is contained in:
ThomasV 2020-08-26 20:26:59 +02:00
parent 13fe8e466d
commit 5313438140

View file

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