qml: show invalid derivation path message to user in WCScriptAndDerivation
This commit is contained in:
@@ -48,8 +48,10 @@ WizardComponent {
|
||||
var p = isMultisig ? getMultisigScriptTypePurposeDict() : getScriptTypePurposeDict()
|
||||
if (!scripttypegroup.checkedButton.scripttype in p)
|
||||
return
|
||||
if (!bitcoin.verifyDerivationPath(derivationpathtext.text))
|
||||
if (!bitcoin.verifyDerivationPath(derivationpathtext.text)) {
|
||||
validationtext.text = qsTr('Invalid derivation path')
|
||||
return
|
||||
}
|
||||
|
||||
if (isMultisig && cosigner) {
|
||||
apply()
|
||||
|
||||
Reference in New Issue
Block a user