wizard: hint for primary signer xpub instead of xprv
This commit is contained in:
@@ -116,8 +116,12 @@ WizardComponent {
|
|||||||
Label {
|
Label {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: cosigner
|
text: cosigner
|
||||||
? qsTr('Enter cosigner master public key')
|
? [qsTr('Please enter the master public key (xpub) of your cosigner.'),
|
||||||
: qsTr('Create keystore from a master key')
|
qsTr('Enter their master private key (xprv) if you want to be able to sign for them.')
|
||||||
|
].join('\n')
|
||||||
|
: [qsTr('Please enter your master private key (xprv).'),
|
||||||
|
qsTr('You can also enter a public key (xpub) here, but be aware you will then create a watch-only wallet if all cosigners are added using public keys')
|
||||||
|
].join('\n')
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -819,6 +819,10 @@ class WCHaveMasterKey(WalletWizardComponent):
|
|||||||
_("To create a watching-only wallet, please enter your master public key (xpub/ypub/zpub)."),
|
_("To create a watching-only wallet, please enter your master public key (xpub/ypub/zpub)."),
|
||||||
_("To create a spending wallet, please enter a master private key (xprv/yprv/zprv).")
|
_("To create a spending wallet, please enter a master private key (xprv/yprv/zprv).")
|
||||||
])
|
])
|
||||||
|
self.message_multisig = ' '.join([
|
||||||
|
_('Please enter your master private key (xprv).'),
|
||||||
|
_('You can also enter a public key (xpub) here, but be aware you will then create a watch-only wallet if all cosigners are added using public keys'),
|
||||||
|
])
|
||||||
self.message_cosign = ' '.join([
|
self.message_cosign = ' '.join([
|
||||||
_('Please enter the master public key (xpub) of your cosigner.'),
|
_('Please enter the master public key (xpub) of your cosigner.'),
|
||||||
_('Enter their master private key (xprv) 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.')
|
||||||
@@ -846,7 +850,7 @@ class WCHaveMasterKey(WalletWizardComponent):
|
|||||||
self.title = _("Add Cosigner {}").format(self.wizard_data['multisig_current_cosigner'])
|
self.title = _("Add Cosigner {}").format(self.wizard_data['multisig_current_cosigner'])
|
||||||
self.label.setText(self.message_cosign)
|
self.label.setText(self.message_cosign)
|
||||||
else:
|
else:
|
||||||
self.label.setText(self.message_create)
|
self.label.setText(self.message_multisig)
|
||||||
|
|
||||||
def is_valid(x) -> bool:
|
def is_valid(x) -> bool:
|
||||||
self.apply()
|
self.apply()
|
||||||
|
|||||||
Reference in New Issue
Block a user