aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-02-25 21:52:04 +0900
committerstoffu <stoffu@protonmail.ch>2018-02-25 21:52:04 +0900
commit70d42ee328624a182f5d8d36cbd697bdca5aee6e (patch)
tree81ec0a985d4e3e54803c3bd43de0543d13265c9f /wizard
parent084c1c84f3e5b98732d16407085c1cbef7b677e2 (diff)
downloadmonzero-gui-70d42ee328624a182f5d8d36cbd697bdca5aee6e.tar.gz
monzero-gui-70d42ee328624a182f5d8d36cbd697bdca5aee6e.tar.xz
monzero-gui-70d42ee328624a182f5d8d36cbd697bdca5aee6e.zip
Wizard: allow seed without checksum
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardManageWalletUI.qml2
-rw-r--r--wizard/WizardMemoTextInput.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/wizard/WizardManageWalletUI.qml b/wizard/WizardManageWalletUI.qml
index 7c9fa536..7d2c789b 100644
--- a/wizard/WizardManageWalletUI.qml
+++ b/wizard/WizardManageWalletUI.qml
@@ -83,7 +83,7 @@ ColumnLayout {
function checkSeed() {
console.log("Checking seed")
var wordsArray = Utils.lineBreaksToSpaces(uiItem.wordsTextItem.memoText).split(" ");
- return wordsArray.length === 25
+ return wordsArray.length === 25 || wordsArray.length === 24
}
function updateFromQrCode(address, payment_id, amount, tx_description, recipient_name, extra_parameters) {
diff --git a/wizard/WizardMemoTextInput.qml b/wizard/WizardMemoTextInput.qml
index d278508e..9611977d 100644
--- a/wizard/WizardMemoTextInput.qml
+++ b/wizard/WizardMemoTextInput.qml
@@ -41,7 +41,7 @@ Column {
font.pixelSize: 16 * scaleRatio
anchors.margins: 8 * scaleRatio
font.bold:true
- text: qsTr("Enter your 25 word mnemonic seed") + translationManager.emptyString
+ text: qsTr("Enter your 25 (or 24) word mnemonic seed") + translationManager.emptyString
color: "#BABABA"
visible: !memoTextInput.text/* && !parent.focus*/
}