mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-13 11:56:32 +02:00
Wizard: allow seed without checksum
This commit is contained in:
parent
084c1c84f3
commit
70d42ee328
@ -83,7 +83,7 @@ ColumnLayout {
|
|||||||
function checkSeed() {
|
function checkSeed() {
|
||||||
console.log("Checking seed")
|
console.log("Checking seed")
|
||||||
var wordsArray = Utils.lineBreaksToSpaces(uiItem.wordsTextItem.memoText).split(" ");
|
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) {
|
function updateFromQrCode(address, payment_id, amount, tx_description, recipient_name, extra_parameters) {
|
||||||
|
@ -41,7 +41,7 @@ Column {
|
|||||||
font.pixelSize: 16 * scaleRatio
|
font.pixelSize: 16 * scaleRatio
|
||||||
anchors.margins: 8 * scaleRatio
|
anchors.margins: 8 * scaleRatio
|
||||||
font.bold:true
|
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"
|
color: "#BABABA"
|
||||||
visible: !memoTextInput.text/* && !parent.focus*/
|
visible: !memoTextInput.text/* && !parent.focus*/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user