wizard: fix restore multisig from seed

This commit is contained in:
ThomasV 2016-09-28 17:03:02 +02:00
parent 827d928aaa
commit 52a9fdf6f6
2 changed files with 3 additions and 2 deletions

View File

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

View File

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