wizard: fix restore multisig from seed
This commit is contained in:
parent
827d928aaa
commit
52a9fdf6f6
@ -288,8 +288,8 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||||||
def add_cosigner_dialog(self, run_next, index, is_valid):
|
def add_cosigner_dialog(self, run_next, index, is_valid):
|
||||||
title = _("Add Cosigner") + " %d"%index
|
title = _("Add Cosigner") + " %d"%index
|
||||||
message = ' '.join([
|
message = ' '.join([
|
||||||
_('Please enter the master public key of your cosigner.'),
|
_('Please enter the master public key (xpub) of your cosigner.'),
|
||||||
_('Enter their seed or master private key if you want to be able to sign for them.')
|
_('Enter their master private key (xprv) if you want to be able to sign for them.')
|
||||||
])
|
])
|
||||||
return self.text_input(title, message, is_valid)
|
return self.text_input(title, message, is_valid)
|
||||||
|
|
||||||
|
|||||||
@ -129,6 +129,7 @@ class BaseWizard(object):
|
|||||||
message = _('Add a cosigner to your multi-sig wallet')
|
message = _('Add a cosigner to your multi-sig wallet')
|
||||||
choices = [
|
choices = [
|
||||||
('restore_from_key', _('Enter cosigner key')),
|
('restore_from_key', _('Enter cosigner key')),
|
||||||
|
('restore_from_seed', _('Enter cosigner seed')),
|
||||||
]
|
]
|
||||||
if not self.is_kivy:
|
if not self.is_kivy:
|
||||||
choices.append(('choose_hw_device', _('Cosign with hardware device')))
|
choices.append(('choose_hw_device', _('Cosign with hardware device')))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user