fix display of Zpub in Kivy during multisig wallet creation (see #6456)
This commit is contained in:
@@ -555,7 +555,10 @@ class BaseWizard(Logger):
|
|||||||
return
|
return
|
||||||
if len(self.keystores) == 0:
|
if len(self.keystores) == 0:
|
||||||
xpub = k.get_master_public_key()
|
xpub = k.get_master_public_key()
|
||||||
|
self.reset_stack()
|
||||||
|
self.keystores.append(k)
|
||||||
self.run('show_xpub_and_add_cosigners', xpub)
|
self.run('show_xpub_and_add_cosigners', xpub)
|
||||||
|
return
|
||||||
self.reset_stack()
|
self.reset_stack()
|
||||||
self.keystores.append(k)
|
self.keystores.append(k)
|
||||||
if len(self.keystores) < self.n:
|
if len(self.keystores) < self.n:
|
||||||
@@ -648,7 +651,7 @@ class BaseWizard(Logger):
|
|||||||
raise NotImplementedError() # implemented by subclasses
|
raise NotImplementedError() # implemented by subclasses
|
||||||
|
|
||||||
def show_xpub_and_add_cosigners(self, xpub):
|
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):
|
def choose_seed_type(self, message=None, choices=None):
|
||||||
title = _('Choose Seed type')
|
title = _('Choose Seed type')
|
||||||
|
|||||||
Reference in New Issue
Block a user