Merge pull request #1140

70d42ee Wizard: allow seed without checksum
This commit is contained in:
luigi1111 2018-03-06 12:33:01 -05:00
commit 7c9ba196c9
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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*/
}