mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Merge pull request #2105
45efb41
wizard: allow viewonly wallet restores (mmbyday)
This commit is contained in:
commit
ba0f7fc9f6
@ -75,6 +75,10 @@ Rectangle {
|
|||||||
viewKeyLine.error = !result[1] && viewKeyLineLength != 0
|
viewKeyLine.error = !result[1] && viewKeyLineLength != 0
|
||||||
spendKeyLine.error = !result[2] && spendKeyLineLength != 0
|
spendKeyLine.error = !result[2] && spendKeyLineLength != 0
|
||||||
|
|
||||||
|
// allow valid viewOnly
|
||||||
|
if (spendKeyLine.text.length === 0)
|
||||||
|
return (result[0] && result[1])
|
||||||
|
|
||||||
return (result[0] && result[1] && result[2])
|
return (result[0] && result[1] && result[2])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user